diff --git a/package.json b/package.json index b5d6ee57..1c99e094 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "prebuild": "terser --comments all --mangle -o src-tauri/injection/injection_min.js -- src-tauri/injection/injection.js && terser --mangle -o src-tauri/injection/preinject_min.js -- src-tauri/injection/preinject.js", "dev": "pnpm prebuild && pnpm build && tauri dev", "build": "pnpm prebuild && tsc && vite build", - "build:updater": "cd updater && cargo build --release && cd .. && cp updater/target/release/updater* src-tauri/ && mv src-tauri/updater.exe src-tauri/updater", + "build:updater": "cd updater && cargo build --release && cd .. && cp updater/target/release/updater src-tauri/updater", "preview": "vite preview", "tauri": "tauri", "format": "cargo fmt --manifest-path ./src-tauri/Cargo.toml --all && prettier src -w", diff --git a/updater/Cargo.toml b/updater/Cargo.toml index 7d4f9f7d..2f952f0b 100644 --- a/updater/Cargo.toml +++ b/updater/Cargo.toml @@ -12,3 +12,4 @@ sudo = "0.6.0" #[cfg(target_os = "windows")] is_elevated = "0.1.2" +