fix(bundler): modify version in output file name when bundling wix (#8182)

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
This commit is contained in:
moka-ayumu
2023-11-07 22:08:30 +09:00
committed by GitHub
parent b5f40ae58d
commit 34196e25c4
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": 'patch:bug'
---
Use original version string on WiX output file name.

View File

@@ -807,7 +807,8 @@ pub fn build_wix_app_installer(
"*.wixobj".into(),
];
let msi_output_path = output_path.join("output.msi");
let msi_path = app_installer_output_path(settings, &language, &app_version, updater)?;
let msi_path =
app_installer_output_path(settings, &language, settings.version_string(), updater)?;
create_dir_all(msi_path.parent().unwrap())?;
info!(action = "Running"; "light to produce {}", display_path(&msi_path));