From be67a79c4a10fc42d7d15b87e488db00238e4676 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 10 Dec 2025 11:02:09 +0800 Subject: Rename Windows CLI installer template file --- setup/windows/setup_jv_cli_template.iss | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 setup/windows/setup_jv_cli_template.iss (limited to 'setup/windows/setup_jv_cli_template.iss') diff --git a/setup/windows/setup_jv_cli_template.iss b/setup/windows/setup_jv_cli_template.iss new file mode 100644 index 0000000..24b2a32 --- /dev/null +++ b/setup/windows/setup_jv_cli_template.iss @@ -0,0 +1,42 @@ +#define MyAppName "JustEnoughVCS" +#define MyAppVersion "0.1.0" +#define MyAppPublisher "JustEnoughVCS Team" +#define MyAppURL "https://jvcs.cc/" + +[Setup] +AppId={{8265DF21-F290-487E-9403-C2730EC31A03} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DefaultGroupName={#MyAppName} +AllowNoIcons=yes +LicenseFile=..\..\LICENSE +PrivilegesRequired=lowest +OutputDir=..\..\export\setup +OutputBaseFilename=JustEnoughVCS For Windows +SetupIconFile=..\..\docs\images\Yizi.ico +SolidCompression=yes +WizardStyle=modern dynamic + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Files] +Source: "..\..\export\*"; Excludes: "setup"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "inst.ps1"; DestDir: "{app}\scripts\"; Flags: ignoreversion +Source: "uninst.ps1"; DestDir: "{app}\scripts\"; Flags: ignoreversion + +[Run] +Filename: "powershell.exe"; Parameters: "-ExecutionPolicy Bypass -File ""{app}\scripts\inst.ps1"""; Flags: runhidden; Description: "Running post-installation script..."; StatusMsg: "Running post-installation script..."; AfterInstall: RunPostInstall + +[UninstallRun] +Filename: "powershell.exe"; Parameters: "-ExecutionPolicy Bypass -File ""{app}\scripts\uninst.ps1"""; Flags: runhidden; RunOnceId: "UninstallScript" + +[Code] +procedure RunPostInstall; +begin +end; -- cgit From 15b508b7931aacd0c07ad6f52d4cefa6eef69fa1 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 10 Dec 2025 11:10:47 +0800 Subject: Add Windows installer script generation to build process - Generate Inno Setup installer script from template at build time - Extract author and homepage from Cargo.toml for script customization - Add generated installer script to .gitignore to avoid committing build artifacts --- setup/windows/setup_jv_cli_template.iss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup/windows/setup_jv_cli_template.iss') diff --git a/setup/windows/setup_jv_cli_template.iss b/setup/windows/setup_jv_cli_template.iss index 24b2a32..124d897 100644 --- a/setup/windows/setup_jv_cli_template.iss +++ b/setup/windows/setup_jv_cli_template.iss @@ -1,7 +1,7 @@ #define MyAppName "JustEnoughVCS" -#define MyAppVersion "0.1.0" -#define MyAppPublisher "JustEnoughVCS Team" -#define MyAppURL "https://jvcs.cc/" +#define MyAppVersion "<<>>" +#define MyAppPublisher "<<>>" +#define MyAppURL "<<>>" [Setup] AppId={{8265DF21-F290-487E-9403-C2730EC31A03} -- cgit