@@ -36,9 +36,9 @@ use std::{
3636// URLS for the NSIS toolchain.
3737#[ cfg( target_os = "windows" ) ]
3838const NSIS_URL : & str =
39- "https://github.com/tauri-apps/binary-releases/releases/download/nsis-3/nsis-3.zip" ;
39+ "https://github.com/tauri-apps/binary-releases/releases/download/nsis-3.11 /nsis-3.11 .zip" ;
4040#[ cfg( target_os = "windows" ) ]
41- const NSIS_SHA1 : & str = "057e83c7d82462ec394af76c87d06733605543d4 " ;
41+ const NSIS_SHA1 : & str = "EF7FF767E5CBD9EDD22ADD3A32C9B8F4500BB10D " ;
4242const NSIS_TAURI_UTILS_URL : & str =
4343 "https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.2/nsis_tauri_utils.dll" ;
4444const NSIS_TAURI_UTILS_SHA1 : & str = "D0C502F45DF55C0465C9406088FF016C2E7E6817" ;
@@ -55,6 +55,9 @@ const NSIS_REQUIRED_FILES: &[&str] = &[
5555 "Include/x64.nsh" ,
5656 "Include/nsDialogs.nsh" ,
5757 "Include/WinMessages.nsh" ,
58+ "Include/Win/COM.nsh" ,
59+ "Include/Win/Propkey.nsh" ,
60+ "Include/Win/RestartManager.nsh" ,
5861] ;
5962const NSIS_PLUGIN_FILES : & [ & str ] = & [
6063 "NSISdl.dll" ,
@@ -125,7 +128,7 @@ fn get_and_extract_nsis(nsis_toolset_path: &Path, _tauri_tools_path: &Path) -> c
125128 let data = download_and_verify ( NSIS_URL , NSIS_SHA1 , HashAlgorithm :: Sha1 ) ?;
126129 log:: info!( "extracting NSIS" ) ;
127130 crate :: utils:: http_utils:: extract_zip ( & data, _tauri_tools_path) ?;
128- fs:: rename ( _tauri_tools_path. join ( "nsis-3.08 " ) , nsis_toolset_path) ?;
131+ fs:: rename ( _tauri_tools_path. join ( "nsis-3.11 " ) , nsis_toolset_path) ?;
129132 }
130133
131134 // download additional plugins
0 commit comments