File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
tauri-bundler/src/bundle/windows/nsis Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' tauri-bundler ' : ' patch:bug'
3+ ---
4+
5+ Fix uninstall fails if you close the app manually during the 'Click Ok to kill it' dialog
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ const NSIS_URL: &str =
4040#[ cfg( target_os = "windows" ) ]
4141const NSIS_SHA1 : & str = "057e83c7d82462ec394af76c87d06733605543d4" ;
4242const NSIS_TAURI_UTILS_URL : & str =
43- "https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.1 /nsis_tauri_utils.dll" ;
44- const NSIS_TAURI_UTILS_SHA1 : & str = "B053B2E5FDB97257954C8F935D80964F056520AE " ;
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 " ;
4545
4646#[ cfg( target_os = "windows" ) ]
4747const NSIS_REQUIRED_FILES : & [ & str ] = & [
Original file line number Diff line number Diff line change 4848 Pop $R0
4949 Sleep 500
5050 ${If} $R0 = 0
51+ ${OrIf} $R0 = 2
5152 Goto app_check_done_${UniqueID}
5253 ${Else}
5354 IfSilent silent_${UniqueID} ui_${UniqueID}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ macro_rules! literal_struct {
2727
2828/// Create a `String` constructor `TokenStream`.
2929///
30- /// e.g. `"Hello World" -> String::from("Hello World").
30+ /// e.g. `"Hello World"` -> ` String::from("Hello World")` .
3131/// This takes a `&String` to reduce casting all the `&String` -> `&str` manually.
3232pub fn str_lit ( s : impl AsRef < str > ) -> TokenStream {
3333 let s = s. as_ref ( ) ;
You can’t perform that action at this time.
0 commit comments