Преглед изворни кода

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

oletf пре 4 месеци
родитељ
комит
f594a65b7e
1 измењених фајлова са 1 додато и 1 уклоњено
  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())),
         ];