mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix Windows CI
The external file should be read at runtime, not compile time.
This commit is contained in:
parent
d715ac1675
commit
644b003687
1 changed files with 2 additions and 3 deletions
|
@ -100,10 +100,9 @@ fn build_installer(
|
|||
bundle_root.join("fileassoc.nsh"),
|
||||
include_str!("../fileassoc.nsh"),
|
||||
)?;
|
||||
#[cfg(windows)]
|
||||
fs::write(
|
||||
fs::copy(
|
||||
"out/extracted/nsis_plugins/nsProcess.dll",
|
||||
bundle_root.join("nsProcess.dll"),
|
||||
include_bytes!("../../../../out/extracted/nsis_plugins/nsProcess.dll"),
|
||||
)?;
|
||||
let mut cmd = Command::new("c:/program files (x86)/nsis/makensis.exe");
|
||||
cmd.arg("-V3");
|
||||
|
|
Loading…
Reference in a new issue