mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-05-09 18:09:46 +08:00
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
; Inno Setup Script for Gobang Game
|
|
; Generated by Inno Setup Script Wizard
|
|
|
|
[Setup]
|
|
; NOTE: The value of AppId uniquely identifies this application.
|
|
; Do not use the same AppId value in installers for other applications.
|
|
AppId={{A92AAE42-5C7E-4C8E-9F2B-8D4E5F6A7B8C}
|
|
AppName=Gobang Game
|
|
AppVersion=1.0
|
|
AppPublisher=Gobang Game Developer
|
|
DefaultDirName={autopf}\Gobang
|
|
DefaultGroupName=Gobang Game
|
|
AllowNoIcons=yes
|
|
OutputDir=..
|
|
OutputBaseFilename=Gobang_Setup
|
|
SetupIconFile=compiler:SetupClassicIcon.ico
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
[Files]
|
|
; GUI可执行文件
|
|
Source: "..\\gobang_gui.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
; SDL3动态库
|
|
Source: "..\\SDL3.dll"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
; 配置文件
|
|
Source: "..\\gobang_config.ini"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
; 指定的TXT文件
|
|
Source: "..\\TXT\\*"; DestDir: "{app}\TXT"; Flags: ignoreversion
|
|
|
|
; 文档文件
|
|
Source: "..\\README.md"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
[Dirs]
|
|
; 创建空的records目录(不包含存档文件)
|
|
Name: "{app}\records"
|
|
|
|
[Icons]
|
|
Name: "{group}\Gobang Game"; Filename: "{app}\gobang_gui.exe"
|
|
Name: "{group}\{cm:UninstallProgram,Gobang Game}"; Filename: "{uninstallexe}"
|
|
Name: "{autodesktop}\Gobang Game"; Filename: "{app}\gobang_gui.exe"; Tasks: desktopicon
|
|
|
|
[Run]
|
|
Filename: "{app}\gobang_gui.exe"; Description: "{cm:LaunchProgram,Gobang Game}"; Flags: nowait postinstall skipifsilent
|
|
|
|
|