diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-10 13:02:08 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-10 13:02:08 +0800 |
| commit | 04010f6cffa34253d1883229c9f0d831b16e3367 (patch) | |
| tree | 591ff3306a1ee12e78ba2e4973a71f89b58be6a3 /export.ps1 | |
| parent | c740e28bd851221f32dc3f48cd94ee78352bba93 (diff) | |
| parent | 15b508b7931aacd0c07ad6f52d4cefa6eef69fa1 (diff) | |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'export.ps1')
| -rw-r--r-- | export.ps1 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/export.ps1 b/export.ps1 new file mode 100644 index 0000000..d24c37e --- /dev/null +++ b/export.ps1 @@ -0,0 +1,13 @@ +# Require : Cargo (Rust), ISCC (Inno Setup) + +# Build +cargo build --workspace --release +if ($LASTEXITCODE -ne 0) { + # Build failed +} else { + # Build succeeded + # Export + if (cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter) { + ISCC /Q .\setup\windows\setup_jv_cli.iss + } +} |
