Skip to content

Commit

Permalink
the main exe to be bundled should have '.exe' extension on windows (#…
Browse files Browse the repository at this point in the history
…3482)

`hotdog.exe` instead of `hotdog` in directory `target\dx\hotdog\bundle\windows\`
  • Loading branch information
liigo authored Jan 2, 2025
1 parent 0ffa91d commit 6071fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/cli/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6071fde

Please sign in to comment.