use main exe name without extension for bundler (#3696)

This commit is contained in:
oletf authored and GitHub committed 2025-02-07 16:08:23 -08:00
1 parent ab91965cc0
commit f594a65b7e
1 file changed
+1 -1
+1 -1
View File
@@ -153,7 +153,7 @@ impl Bundle {
let binaries = vec![
// We use the name of the exe but it has to be in the same directory
BundleBinary::new(name.display().to_string(), true)
BundleBinary::new(krate.executable_name().to_string(), true)
.set_src_path(Some(bundle.app.exe.display().to_string())),
];