Fix: Installation Server Kill -> Overwrite Error

This commit is contained in:
Youwes09
2026-03-27 20:19:36 -05:00
parent 34d997fc9d
commit 6ef0facb89
6 changed files with 427 additions and 217 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ modules:
path: .
- type: file
path: packaging/frontend-dist.tar.gz
sha256: cb2f65bad39db8d7411b15383965812fdd02c02697431e4eb3f3f05281eac49d
sha256: 3ac5d822ac1840473333510b5e45220298702e6d1435e2cdd4b5c2f7195d764f
- packaging/cargo-sources.json
- type: inline
dest: src-tauri/.cargo
+1 -1
View File
@@ -18,7 +18,7 @@
perSystem = { system, lib, ... }:
let
version = "0.4.1";
version = "0.5.0";
pkgs = import inputs.nixpkgs {
inherit system;
+419 -213
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "moku"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
[lib]
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Moku",
"version": "0.4.1",
"version": "0.5.0",
"identifier": "dev.moku.app",
"build": {
"frontendDist": "../dist",
+4
View File
@@ -562,6 +562,10 @@
try {
if (IS_WINDOWS) {
// Kill Suwayomi before installing — its JRE DLLs will be locked otherwise
try { await invoke("kill_server"); } catch {}
// Give the process a moment to fully release file handles
await new Promise(res => setTimeout(res, 1500));
// Windows: Tauri updater downloads + runs passive NSIS installer
await invoke("download_and_install_update");
updatePhase = "ready";