mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-25 11:46:06 +02:00
try with /NS
This commit is contained in:
@@ -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}\""));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user