From f594a65b7e88c5fe7a231236515d46f5525cc3a8 Mon Sep 17 00:00:00 2001 From: oletf <109208726+oletf@users.noreply.github.com> Date: Sat, 8 Feb 2025 01:08:23 +0100 Subject: [PATCH] use main exe name without extension for bundler (#3696) --- packages/cli/src/cli/bundle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())), ];