Skip to content

Commit

Permalink
fix(bundler): modify version in output file name when bundling wix (#…
Browse files Browse the repository at this point in the history
…8182)

Co-authored-by: Lucas Fernandes Nogueira <[email protected]>
  • Loading branch information
moka-ayumu and lucasfernog authored Nov 7, 2023
1 parent b5f40ae commit 34196e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-wix-output-filename-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": 'patch:bug'
---

Use original version string on WiX output file name.
3 changes: 2 additions & 1 deletion tooling/bundler/src/bundle/windows/msi/wix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 34196e2

Please sign in to comment.