Kaynağa Gözat

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

oletf 4 ay önce
ebeveyn
işleme
f594a65b7e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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![
         let binaries = vec![
             // We use the name of the exe but it has to be in the same directory
             // 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())),
                 .set_src_path(Some(bundle.app.exe.display().to_string())),
         ];
         ];