fix: regression extracting NSIS zip - target folder already exists

This commit is contained in:
Lucas Nogueira
2024-05-28 23:37:06 -03:00
parent 265c23886e
commit 94cca92aeb

View File

@@ -67,7 +67,6 @@ pub fn bundle_project(settings: &Settings, updater: bool) -> crate::Result<Vec<P
let nsis_toolset_path = tauri_tools_path.join("NSIS");
if !nsis_toolset_path.exists() {
fs::create_dir_all(&nsis_toolset_path)?;
get_and_extract_nsis(&nsis_toolset_path, &tauri_tools_path)?;
} else if NSIS_REQUIRED_FILES
.iter()