Compare commits
3 Commits
f478ea8b84
...
85ff52a661
Author | SHA1 | Date | |
---|---|---|---|
|
85ff52a661 | ||
|
da7fd64a43 | ||
|
3902633217 |
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -41,6 +41,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: build-output-windows
|
name: build-output-windows
|
||||||
path: build/windows/x64/runner/Release
|
path: build/windows/x64/runner/Release
|
||||||
|
- name: Compile Installer
|
||||||
|
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
|
||||||
|
with:
|
||||||
|
path: setup.iss
|
||||||
|
- name: Archive installer artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-output-windows
|
||||||
|
path: Installer/windows-x86_64-setup.exe
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
BIN
assets/icons/icon.ico
Normal file
BIN
assets/icons/icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
51
setup.iss
51
setup.iss
@@ -1,19 +1,52 @@
|
|||||||
|
; ==================================================
|
||||||
|
#define AppVersion "3.2.0"
|
||||||
|
#define BuildNumber "124"
|
||||||
|
; ==================================================
|
||||||
|
|
||||||
|
#define FullVersion AppVersion + "." + BuildNumber
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppName=Solian
|
AppName=Solian
|
||||||
AppVersion=3.2.0
|
AppVersion={#AppVersion}
|
||||||
DefaultDirName={pf}\Solian
|
AppPublisher=Solsynth
|
||||||
DefaultGroupName=Solian
|
AppPublisherURL=https://solsynth.dev
|
||||||
OutputDir=C:\Development\Solian\Installer
|
AppSupportURL=https://kb.solsynth.dev/zh/solar-network
|
||||||
OutputBaseFilename=Solian
|
AppUpdatesURL=https://github.com/Solsynth/Solian/releases
|
||||||
Compression=lzma
|
AppCopyright=Copyright © 2025 Solsynth
|
||||||
|
VersionInfoVersion={#FullVersion}
|
||||||
|
UninstallDisplayName=Solian
|
||||||
|
UninstallDisplayIcon={app}\Solian.exe
|
||||||
|
|
||||||
|
DefaultDirName={commonpf}\Solian
|
||||||
|
UsePreviousAppDir=no
|
||||||
|
|
||||||
|
OutputDir=.\Installer
|
||||||
|
OutputBaseFilename=windows-x86_64-setup
|
||||||
|
SetupIconFile=.\assets\icons\icon.ico
|
||||||
|
|
||||||
|
Compression=lzma2/ultra64
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
|
LZMAUseSeparateProcess=yes
|
||||||
|
LZMANumBlockThreads=4
|
||||||
|
|
||||||
|
ArchitecturesAllowed=x64compatible
|
||||||
|
PrivilegesRequired=admin
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "C:\Development\Solian\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: ".\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\Solian"; Filename: "{app}\Solian.exe"
|
Name: "{group}\Solian"; Filename: "{app}\Solian.exe";IconFilename: "{app}\Solian.exe"
|
||||||
Name: "{group}\Uninstall Solian"; Filename: "{uninstallexe}"
|
Name: "{group}\{cm:UninstallProgram,Solian}"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{autodesktop}\Solian"; Filename: "{app}\Solian.exe"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{app}\Solian.exe"; Description: "Launch Solian"; Flags: nowait postinstall skipifsilent
|
Filename: "{app}\Solian.exe"; Description: "Launch Solian"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
|
[UninstallDelete]
|
||||||
|
Type: filesandordirs; Name: "{userappdata}\dev.solsynth\Solian"
|
||||||
|
Type: files; Name: "{group}\Solian.lnk" ;
|
||||||
|
Type: files; Name: "{autodesktop}\Solian.lnk" ;
|
Reference in New Issue
Block a user