Skip to content

Commit

Permalink
fix(all): change updater build script again
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 6, 2023
1 parent 23a47c2 commit b3c2e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ sudo = "0.6.0"

#[cfg(target_os = "windows")]
is_elevated = "0.1.2"

0 comments on commit b3c2e2d

Please sign in to comment.