fix: update silent argument for nsis

This commit is contained in:
2025-07-30 21:35:44 +02:00
parent b778a5a369
commit f7c2dc689a
2 changed files with 3 additions and 2 deletions

View File

@@ -789,7 +789,7 @@ pub async fn install_ezpp_launcher_update(app: AppHandle) -> Result<(), String>
const CREATE_NEW_PROCESS_GROUP: u32 = 0x00000200; const CREATE_NEW_PROCESS_GROUP: u32 = 0x00000200;
Command::new(&file_path) Command::new(&file_path)
.arg("/QN") .arg("/S")
.creation_flags(DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP) .creation_flags(DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP)
.spawn() .spawn()
.map_err(|e| format!("Failed to spawn updater: {}", e))?; .map_err(|e| format!("Failed to spawn updater: {}", e))?;

View File

@@ -33,7 +33,8 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"active": true, "active": true,
"targets": [ "targets": [
"nsis" "nsis",
"appimage"
], ],
"windows": { "windows": {
"webviewInstallMode": { "webviewInstallMode": {