From 1eb96ad424cfd7ae2ce14e8207929e62522f28a7 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Wed, 30 Aug 2023 03:54:33 +0300 Subject: [PATCH 1/2] chore(deps): update nsis_tuari_utils to 0.2.1 --- .changes/nsis-kill-own-process.md | 5 +++++ tooling/bundler/src/bundle/windows/nsis.rs | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changes/nsis-kill-own-process.md diff --git a/.changes/nsis-kill-own-process.md b/.changes/nsis-kill-own-process.md new file mode 100644 index 000000000000..30bc8450bc7f --- /dev/null +++ b/.changes/nsis-kill-own-process.md @@ -0,0 +1,5 @@ +--- +'tauri-bundler': 'patch' +--- + +On Windows, fix NSIS installer trying to kill itself if the installer file name and the app `productName` are the same. diff --git a/tooling/bundler/src/bundle/windows/nsis.rs b/tooling/bundler/src/bundle/windows/nsis.rs index 964e57b7a6ba..3e56045dab8d 100644 --- a/tooling/bundler/src/bundle/windows/nsis.rs +++ b/tooling/bundler/src/bundle/windows/nsis.rs @@ -37,8 +37,8 @@ const NSIS_URL: &str = const NSIS_SHA1: &str = "057e83c7d82462ec394af76c87d06733605543d4"; const NSIS_APPLICATIONID_URL: &str = "https://github.com/tauri-apps/binary-releases/releases/download/nsis-plugins-v0/NSIS-ApplicationID.zip"; const NSIS_TAURI_UTILS: &str = - "https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.2.0/nsis_tauri_utils.dll"; -const NSIS_TAURI_UTILS_SHA1: &str = "463555D6A0D48782754C98CD95A3C9C68F171698"; + "https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.2.1/nsis_tauri_utils.dll"; +const NSIS_TAURI_UTILS_SHA1: &str = "53A7CFAEB6A4A9653D6D5FBFF02A3C3B8720130A"; #[cfg(target_os = "windows")] const NSIS_REQUIRED_FILES: &[&str] = &[ From 55a9810825ae902afbcf4d702b39f4b92a16ea34 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Wed, 30 Aug 2023 03:55:38 +0300 Subject: [PATCH 2/2] Update .changes/nsis-kill-own-process.md --- .changes/nsis-kill-own-process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/nsis-kill-own-process.md b/.changes/nsis-kill-own-process.md index 30bc8450bc7f..5813c18e24db 100644 --- a/.changes/nsis-kill-own-process.md +++ b/.changes/nsis-kill-own-process.md @@ -1,5 +1,5 @@ --- -'tauri-bundler': 'patch' +'tauri-bundler': 'patch:bug' --- On Windows, fix NSIS installer trying to kill itself if the installer file name and the app `productName` are the same.