mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
chore(updater): remove /NS (#1371)
This commit is contained in:
@@ -32,6 +32,9 @@ impl WindowsUpdateInstallMode {
|
||||
|
||||
/// Returns the associated nsis arguments.
|
||||
pub fn nsis_args(&self) -> &'static [&'static str] {
|
||||
// `/P`: Passive
|
||||
// `/S`: Silent
|
||||
// `/R`: Restart
|
||||
match self {
|
||||
Self::Passive => &["/P", "/R"],
|
||||
Self::Quiet => &["/S", "/R"],
|
||||
|
||||
@@ -556,7 +556,6 @@ impl Update {
|
||||
match updater_type {
|
||||
WindowsUpdaterType::Nsis => {
|
||||
installer_args.extend(install_mode.nsis_args().iter().map(OsStr::new));
|
||||
installer_args.push(OsStr::new("/NS"));
|
||||
installer_args.push(OsStr::new("/UPDATE"));
|
||||
}
|
||||
WindowsUpdaterType::Msi => {
|
||||
|
||||
Reference in New Issue
Block a user