Przeglądaj źródła

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

oletf 4 miesięcy temu
rodzic
commit
f594a65b7e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/cli/src/cli/bundle.rs

+ 1 - 1
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())),
         ];