Skip to content

Commit

Permalink
use main exe name without extension for bundler (#3696)
Browse files Browse the repository at this point in the history
  • Loading branch information
oletf authored Feb 8, 2025
1 parent ab91965 commit f594a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
];

Expand Down

0 comments on commit f594a65

Please sign in to comment.