the main exe to be bundled should have '.exe' extension on windows (#3482)

`hotdog.exe` instead of `hotdog` in directory `target\dx\hotdog\bundle\windows\`
This commit is contained in:
Liigo Zhuang authored and GitHub committed 2025-01-02 15:01:33 -05:00
1 parent 0ffa91df65
commit 6071fde2c4
1 file changed
+2 -2
+2 -2
View File
@@ -146,7 +146,7 @@ impl Bundle {
&bundle.app.exe,
krate
.bundle_dir(self.build_arguments.platform())
.join(krate.executable_name()),
.join(&name),
)?;
let binaries = vec![
@@ -203,7 +203,7 @@ impl Bundle {
description: package.description.clone().unwrap_or_default(),
homepage: Some(package.homepage.clone().unwrap_or_default()),
authors: Some(package.authors.clone()),
default_run: Some(krate.executable_name().to_string()),
default_run: Some(name.display().to_string()),
})
.log_level(log::Level::Debug)
.binaries(binaries)