Skip to content

Commit dcf7564

Browse files
committed
chore(bundler): apply nitpick and add a change file.
1 parent 2dbe066 commit dcf7564

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
tauri-bundler: minor:feat
3+
---
4+
5+
Consider extensions that are defined in the wxs template.

crates/tauri-bundler/src/bundle/windows/msi/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,8 @@ pub fn build_wix_app_installer(
759759

760760
let current_dir = std::env::current_dir()?;
761761
let extension_regex = Regex::new("\"http://schemas.microsoft.com/wix/(\\w+)\"")?;
762-
let input_paths = std::iter::once(output_path.join(PathBuf::from("main.wxs")))
763-
.chain(fragment_paths.iter().map(|p| current_dir.join(p)));
762+
let input_paths =
763+
std::iter::once(main_wxs_path).chain(fragment_paths.iter().map(|p| current_dir.join(p)));
764764

765765
for input_path in input_paths {
766766
let input_content = fs::read_to_string(&input_path)?;

0 commit comments

Comments
 (0)