Skip to content

Commit 6071fde

Browse files
authored
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\`
1 parent 0ffa91d commit 6071fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli/src/cli/bundle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl Bundle {
146146
&bundle.app.exe,
147147
krate
148148
.bundle_dir(self.build_arguments.platform())
149-
.join(krate.executable_name()),
149+
.join(&name),
150150
)?;
151151

152152
let binaries = vec![
@@ -203,7 +203,7 @@ impl Bundle {
203203
description: package.description.clone().unwrap_or_default(),
204204
homepage: Some(package.homepage.clone().unwrap_or_default()),
205205
authors: Some(package.authors.clone()),
206-
default_run: Some(krate.executable_name().to_string()),
206+
default_run: Some(name.display().to_string()),
207207
})
208208
.log_level(log::Level::Debug)
209209
.binaries(binaries)

0 commit comments

Comments
 (0)