mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(nsis): per-machine installer not requesting elevation when run by non-admin users (#13786)
This commit is contained in:
committed by
GitHub
parent
cfc5bb8196
commit
f94af90359
5
.changes/fix-nsis-per-machine-installer-elevation.md
Normal file
5
.changes/fix-nsis-per-machine-installer-elevation.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
tauri-bundler: patch:bug
|
||||
---
|
||||
|
||||
Fix NSIS per-machine installer not requesting elevation when run by non-admin users.
|
||||
@@ -95,7 +95,7 @@ VIAddVersionKey "ProductVersion" "${VERSION}"
|
||||
|
||||
; Handle install mode, `perUser`, `perMachine` or `both`
|
||||
!if "${INSTALLMODE}" == "perMachine"
|
||||
RequestExecutionLevel highest
|
||||
RequestExecutionLevel admin
|
||||
!endif
|
||||
|
||||
!if "${INSTALLMODE}" == "currentUser"
|
||||
|
||||
Reference in New Issue
Block a user