mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
f3d8618728
commit
a5cd3f32f4
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2338,7 +2338,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "makeinstall"
|
||||
name = "makeexe"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "makeinstall"
|
||||
name = "makeexe"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
|
|
Loading…
Reference in a new issue