Fix broken bundling on Windows 11

When Windows notices "install" in the filename it triggers a UAC elevation,
causing 'cargo run' to fail.
This commit is contained in:
Damien Elmes 2023-11-20 12:01:34 +10:00
parent f3d8618728
commit a5cd3f32f4
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -2338,7 +2338,7 @@ dependencies = [
]
[[package]]
name = "makeinstall"
name = "makeexe"
version = "0.0.0"
dependencies = [
"anyhow",

View file

@ -424,7 +424,7 @@ struct BuildWindowsInstallers {}
impl BuildAction for BuildWindowsInstallers {
fn command(&self) -> &str {
"cargo run -p makeinstall --target-dir=out/rust -- $version $src_root $bundle_root $out"
"cargo run -p makeexe --target-dir=out/rust -- $version $src_root $bundle_root $out"
}
fn files(&mut self, build: &mut impl ninja_gen::build::FilesHandle) {

View file

@ -1,5 +1,5 @@
[package]
name = "makeinstall"
name = "makeexe"
version.workspace = true
authors.workspace = true
edition.workspace = true