feat(nsis): implement passive mode, closes #6955 (#6998)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
Amr Bashir
2023-05-24 20:16:12 +03:00
committed by GitHub
parent 60334f9e02
commit df89ccc191
11 changed files with 147 additions and 81 deletions

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch'
---
Fix NSIS installer disabling `do not uninstall` button and silent installer aborting, if `allowDowngrades` was disabled even when we are not downgrading.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor'
---
Support `passive` mode for NSIS updater.

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'minor'
---
For NSIS, Add support for `/P` to install or uninstall in passive mode, `/R` to (re)start the app and `/NS` to disable creating shortcuts in `silent` and `passive` modes.

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'minor'
---
NSIS `silent` and `passive` installer/updater will auto-kill the app if its running.

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch'
---
Fix NSIS silent installer not creating Desktop and StartMenu shortcuts. Pass `/NS` to disable creating them.