mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
fix(bundler): fix error when renaming the downloaded zip of NSIS (#9956)
This commit is contained in:
parent
07b02c9f96
commit
8b66174f0d
@ -68,10 +68,13 @@ pub fn bundle_project(settings: &Settings, updater: bool) -> crate::Result<Vec<P
|
||||
.map(|d| d.join(".tauri"))
|
||||
.unwrap_or_else(|| dirs_next::cache_dir().unwrap().join("tauri"));
|
||||
|
||||
if !tauri_tools_path.exists() {
|
||||
create_dir_all(&tauri_tools_path)?;
|
||||
}
|
||||
|
||||
let nsis_toolset_path = tauri_tools_path.join("NSIS");
|
||||
|
||||
if !nsis_toolset_path.exists() {
|
||||
create_dir_all(&nsis_toolset_path)?;
|
||||
get_and_extract_nsis(&nsis_toolset_path, &tauri_tools_path)?;
|
||||
} else if NSIS_REQUIRED_FILES
|
||||
.iter()
|
||||
|
Loading…
Reference in New Issue
Block a user