Skip to content

Commit 34196e2

Browse files
fix(bundler): modify version in output file name when bundling wix (#8182)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
1 parent b5f40ae commit 34196e2

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": 'patch:bug'
3+
---
4+
5+
Use original version string on WiX output file name.

tooling/bundler/src/bundle/windows/msi/wix.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,8 @@ pub fn build_wix_app_installer(
807807
"*.wixobj".into(),
808808
];
809809
let msi_output_path = output_path.join("output.msi");
810-
let msi_path = app_installer_output_path(settings, &language, &app_version, updater)?;
810+
let msi_path =
811+
app_installer_output_path(settings, &language, settings.version_string(), updater)?;
811812
create_dir_all(msi_path.parent().unwrap())?;
812813

813814
info!(action = "Running"; "light to produce {}", display_path(&msi_path));

0 commit comments

Comments
 (0)