try with `/NS`

pull/2060/head
amrbashir 7 months ago
parent 84bfcea116
commit 719cd9398e
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -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}\""));
}
}

Loading…
Cancel
Save