From 1567bab16b1eeb8ddaf5a8cc09c71bdb0bedbda3 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 10 Dec 2025 10:49:52 +0800 Subject: Add Windows installer and export scripts - Add Inno Setup configuration for Windows installer - Add PowerShell scripts for installation and uninstallation - Create Windows-specific export script - Update existing export script to suppress build output - Include application icon for installer --- export.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 export.ps1 (limited to 'export.ps1') 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 + } +} -- cgit