diff --git a/packages/cli/src/cli/bundle.rs b/packages/cli/src/cli/bundle.rs index 751fc9bce..adad3849c 100644 --- a/packages/cli/src/cli/bundle.rs +++ b/packages/cli/src/cli/bundle.rs @@ -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())), ];