chore(updater): remove /NS (#1371)

This commit is contained in:
Tony
2024-05-27 23:31:58 +08:00
committed by GitHub
parent b0518206cd
commit 7327602f15
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -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"],