build: package Avalonia and Flutter Windows installers
This commit is contained in:
1 parent
82a84a0223
commit
9aa39d7a5a
5 files changed
+85
-2
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#ifndef Version
|
||||
#define Version "0.2.0"
|
||||
#endif
|
||||
[Setup]
|
||||
AppId=TTSTD.ADS.{#Edition}
|
||||
AppName=ADS {#Edition}
|
||||
AppVersion={#Version}
|
||||
AppPublisher=TongTong Studio
|
||||
DefaultDirName={localappdata}\Programs\TTSTD\ADS-{#Edition}
|
||||
DefaultGroupName=ADS {#Edition}
|
||||
PrivilegesRequired=lowest
|
||||
ArchitecturesAllowed=x64compatible
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
MinVersion=10.0
|
||||
OutputDir={#Output}
|
||||
OutputBaseFilename=ADS-{#Edition}-{#Version}-win-x64-Setup
|
||||
Compression=lzma2
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
UninstallDisplayIcon={app}\{#Executable}
|
||||
CloseApplications=yes
|
||||
RestartApplications=no
|
||||
SetupLogging=yes
|
||||
[Tasks]
|
||||
Name: desktopicon; Description: "Create a desktop shortcut"; Flags: unchecked
|
||||
[Files]
|
||||
Source: "{#Source}\*"; DestDir: "{app}"; Excludes: "*.env,*.log,*.pdb,settings.json,agent.json,*.sock"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
[Icons]
|
||||
Name: "{group}\ADS {#Edition}"; Filename: "{app}\{#Executable}"
|
||||
Name: "{autodesktop}\ADS {#Edition}"; Filename: "{app}\{#Executable}"; Tasks: desktopicon
|
||||
#if Edition == "Avalonia"
|
||||
Name: "{group}\ADS Agent Manager"; Filename: "{app}\{#Executable}"; Parameters: "--agent-tray"
|
||||
#endif
|
||||
[Run]
|
||||
Filename: "{app}\{#Executable}"; Description: "Launch ADS {#Edition}"; Flags: nowait postinstall skipifsilent
|
||||
Reference in new issue
Block a user