-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2a6238
commit d4935b3
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "XDU_WallNut_v1.2.2" | ||
#define MyAppVersion "1.2.2" | ||
#define MyAppPublisher "Yang-ZhiHang" | ||
#define MyAppURL "https://github.com/Yang-ZhiHang/XDU-WallNut" | ||
#define MyAppExeName "XDU_WallNut.exe" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{0955F5B4-912C-43B5-9278-BC8A121618DA} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
;AppVerName={#MyAppName} {#MyAppVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={autopf}\{#MyAppName} | ||
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run | ||
; on anything but x64 and Windows 11 on Arm. | ||
ArchitecturesAllowed=x64compatible | ||
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the | ||
; install be done in "64-bit mode" on x64 or Windows 11 on Arm, | ||
; meaning it should use the native 64-bit Program Files directory and | ||
; the 64-bit view of the registry. | ||
ArchitecturesInstallIn64BitMode=x64compatible | ||
DisableProgramGroupPage=yes | ||
; Uncomment the following line to run in non administrative install mode (install for current user only.) | ||
;PrivilegesRequired=lowest | ||
OutputDir=D:\dev\XDU_WallNut\dist | ||
OutputBaseFilename=XDU_WallNut_v1.2.2 | ||
SetupIconFile=D:\dev\XDU_WallNut\assert\setup.ico | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
|
||
[Languages] | ||
Name: "ChineseSimplified"; MessagesFile: "compiler:languages\ChineseSimplified.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkablealone | ||
|
||
[Files] | ||
Source: "D:\dev\XDU_WallNut\dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "D:\dev\XDU_WallNut\dist\Updater.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "D:\dev\XDU_WallNut\dist\version.json"; DestDir: "{app}"; Flags: ignoreversion | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Icons] | ||
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|