Skip to content

Commit

Permalink
Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Nov 5, 2024
1 parent ae024b8 commit f548d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,8 @@ pub fn build_wix_app_installer(
for fragment_path in fragment_paths {
let fragment_path = current_dir.join(fragment_path);
let fragment_content = fs::read_to_string(&fragment_path)?;
let fragment_handle_bars = Handlebars::new();
let fragment = fragment_handle_bars.render_template(&fragment_content, &data)?;
let fragment_handlebars = Handlebars::new();
let fragment = fragment_handlebars.render_template(&fragment_content, &data)?;
let mut extensions = Vec::new();
for cap in extension_regex.captures_iter(&fragment) {
extensions.push(wix_toolset_path.join(format!("Wix{}.dll", &cap[1])));
Expand Down

0 comments on commit f548d75

Please sign in to comment.