Skip to content

Commit

Permalink
try with /NS
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Nov 19, 2024
1 parent 84bfcea commit 719cd93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/updater/tests/app-updater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}\""));
}
}

Expand Down

0 comments on commit 719cd93

Please sign in to comment.