Skip to content

Commit 7327602

Browse files
chore(updater): remove /NS (#1371)
1 parent b051820 commit 7327602

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugins/updater/src/config.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ impl WindowsUpdateInstallMode {
3232

3333
/// Returns the associated nsis arguments.
3434
pub fn nsis_args(&self) -> &'static [&'static str] {
35+
// `/P`: Passive
36+
// `/S`: Silent
37+
// `/R`: Restart
3538
match self {
3639
Self::Passive => &["/P", "/R"],
3740
Self::Quiet => &["/S", "/R"],

plugins/updater/src/updater.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,6 @@ impl Update {
556556
match updater_type {
557557
WindowsUpdaterType::Nsis => {
558558
installer_args.extend(install_mode.nsis_args().iter().map(OsStr::new));
559-
installer_args.push(OsStr::new("/NS"));
560559
installer_args.push(OsStr::new("/UPDATE"));
561560
}
562561
WindowsUpdaterType::Msi => {

0 commit comments

Comments
 (0)