diff --git a/plugins/updater/tests/app-updater/src/main.rs b/plugins/updater/tests/app-updater/src/main.rs index 7a6e2fdd2..3d4bc5073 100644 --- a/plugins/updater/tests/app-updater/src/main.rs +++ b/plugins/updater/tests/app-updater/src/main.rs @@ -27,9 +27,11 @@ fn main() { let exe = tauri::utils::platform::current_exe().unwrap(); let dir = dunce::simplified(exe.parent().unwrap()).display(); if target == "nsis" { - builder = builder.installer_args(vec![format!("/D=\"{dir}\"",)]); + builder = builder + .installer_arg("/NS") + .installer_arg(format!("/D=\"{dir}\"",)); } else if target == "msi" { - builder = builder.installer_args(vec![format!("INSTALLDIR=\"{dir}\"")]); + builder = builder.installer_arg(format!("INSTALLDIR=\"{dir}\"")); } }