Skip to content

Commit ca33209

Browse files
committed
Partial Fix for MSI bundling. Fixes burtonageo#77
1 parent 883fdf0 commit ca33209

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/bundle/settings.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ impl Settings {
182182
name.clone())
183183
}
184184
};
185-
let binary_path = target_dir.join(&binary_name);
185+
let binary_path = target_dir.join(&binary_name).with_extension("exe");
186+
let bin_name = format!("{}.{}", binary_name, "exe");
186187
Ok(Settings {
187188
package,
188189
package_type,
@@ -191,7 +192,7 @@ impl Settings {
191192
is_release,
192193
project_out_directory: target_dir,
193194
binary_path,
194-
binary_name,
195+
binary_name: bin_name,
195196
bundle_settings,
196197
})
197198
}

0 commit comments

Comments
 (0)