Skip to content

Commit 7fca582

Browse files
chore(deps): update nsis_tauri_utils to 0.5.3 (#14830)
1 parent c769f21 commit 7fca582

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.changes/nsis-run-as-user.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"tauri-bundler": patch:bug
3+
"tauri-cli": patch:bug
4+
"@tauri-apps/cli": patch:bug
5+
---
6+
7+
Updated `nsis_tauri_utils` to 0.5.3:
8+
9+
- Use an alternative method `CreateProcessWithTokenW` to run programs as user, this fixed a problem that the program launched with the previous method can't query its own handle

crates/tauri-bundler/src/bundle/windows/nsis/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const NSIS_URL: &str =
4040
#[cfg(target_os = "windows")]
4141
const NSIS_SHA1: &str = "EF7FF767E5CBD9EDD22ADD3A32C9B8F4500BB10D";
4242
const NSIS_TAURI_UTILS_URL: &str =
43-
"https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.2/nsis_tauri_utils.dll";
44-
const NSIS_TAURI_UTILS_SHA1: &str = "D0C502F45DF55C0465C9406088FF016C2E7E6817";
43+
"https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.3/nsis_tauri_utils.dll";
44+
const NSIS_TAURI_UTILS_SHA1: &str = "75197FEE3C6A814FE035788D1C34EAD39349B860";
4545

4646
#[cfg(target_os = "windows")]
4747
const NSIS_REQUIRED_FILES: &[&str] = &[

0 commit comments

Comments
 (0)