From f9adbc10620790d1c01f12febc47c3568f100be3 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 11:05:20 +0300 Subject: [PATCH 1/9] Inno setup integration --- .github/workflows/main.yml | 11 ++++++-- build/windows/setup.iss | 57 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 build/windows/setup.iss diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad4a58c..9726837 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,13 +113,18 @@ jobs: - name: Build Thunder Hub run: | qbs install --all-products config:release profile:qt - 7z a -t7z ThunderHub-windows-x64.7z release/install-root/ + + - name: Compile Inno Setup script + uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 + with: + path: build/windows/setup.iss + options: /O+ - name: Upload Thunder Hub uses: actions/upload-artifact@v4 with: - name: ThunderHub-windows-x64.7z - path: ThunderHub-windows-x64.7z + name: ThundeHub.exe + path: build/release/ThundeHub.exe github: name: Upload to GitHub releases diff --git a/build/windows/setup.iss b/build/windows/setup.iss new file mode 100644 index 0000000..44e73fa --- /dev/null +++ b/build/windows/setup.iss @@ -0,0 +1,57 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! +; Non-commercial use only + +#define MyAppName "Thunder Hub" +#define MyAppVersion "2026.1" +#define MyAppURL "https://thunderengine.org/" +#define MyAppExeName "Hub.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={{87ABD83C-8261-4887-8018-7244F4C2A519} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\ThunderHub +UninstallDisplayIcon={app}\{#MyAppExeName} +; "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 +; Remove the following line to run in administrative install mode (install for all users). +PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputDir=build\release +OutputBaseFilename=ThunderHub +SetupIconFile=hub\res\Thunder.ico +SolidCompression=yes +WizardStyle=modern dynamic + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "build\release\install-root\hub\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "build\release\install-root\hub\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; 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 + From fca695beec4f0a15d19fc4a88d3c919ffcc4e6b1 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 11:11:22 +0300 Subject: [PATCH 2/9] update --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9726837..8214321 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,10 +115,10 @@ jobs: qbs install --all-products config:release profile:qt - name: Compile Inno Setup script - uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 - with: - path: build/windows/setup.iss - options: /O+ + uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 + with: + path: build/windows/setup.iss + options: /O+ - name: Upload Thunder Hub uses: actions/upload-artifact@v4 From c128577fafe47b8e0a4a0c7528ba4dc6751a0d35 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 12:03:08 +0300 Subject: [PATCH 3/9] a --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8214321..d902872 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -117,7 +117,7 @@ jobs: - name: Compile Inno Setup script uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 with: - path: build/windows/setup.iss + path: ./build/windows/setup.iss options: /O+ - name: Upload Thunder Hub From e79615dd43547b60785943171316d5cb34dbb1f2 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 12:38:18 +0300 Subject: [PATCH 4/9] a --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d902872..1f13805 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,11 +113,12 @@ jobs: - name: Build Thunder Hub run: | qbs install --all-products config:release profile:qt + dir - name: Compile Inno Setup script uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 with: - path: ./build/windows/setup.iss + path: build/windows/setup.iss options: /O+ - name: Upload Thunder Hub From ddb3d180076d69ea8677eb147a8b26f162468252 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 12:43:38 +0300 Subject: [PATCH 5/9] a --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f13805..1289344 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,7 +113,7 @@ jobs: - name: Build Thunder Hub run: | qbs install --all-products config:release profile:qt - dir + dir build\windows - name: Compile Inno Setup script uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 From f517013ec7f3961657f8d32813cc9b9fe02ffb2d Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 12:47:31 +0300 Subject: [PATCH 6/9] a --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1289344..82cd749 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,7 +113,7 @@ jobs: - name: Build Thunder Hub run: | qbs install --all-products config:release profile:qt - dir build\windows + dir build\\windows - name: Compile Inno Setup script uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 From dbb4aa5de798ff001414805d48df2c0b43238725 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 12:55:42 +0300 Subject: [PATCH 7/9] a --- build/windows/setup.iss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/windows/setup.iss b/build/windows/setup.iss index 44e73fa..c37763a 100644 --- a/build/windows/setup.iss +++ b/build/windows/setup.iss @@ -31,9 +31,9 @@ DisableProgramGroupPage=yes ; Remove the following line to run in administrative install mode (install for all users). PrivilegesRequired=lowest PrivilegesRequiredOverridesAllowed=dialog -OutputDir=build\release +OutputDir=..\release OutputBaseFilename=ThunderHub -SetupIconFile=hub\res\Thunder.ico +SetupIconFile=..\..\hub\res\Thunder.ico SolidCompression=yes WizardStyle=modern dynamic @@ -44,8 +44,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "build\release\install-root\hub\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "build\release\install-root\hub\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\release\install-root\hub\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\release\install-root\hub\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] From fa24f395a64f4ed80d6a669e891e83aa2e707b0a Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 13:01:19 +0300 Subject: [PATCH 8/9] a --- .github/workflows/main.yml | 1 - build/windows/setup.iss | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82cd749..8214321 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,7 +113,6 @@ jobs: - name: Build Thunder Hub run: | qbs install --all-products config:release profile:qt - dir build\\windows - name: Compile Inno Setup script uses: Minionguyjpro/Inno-Setup-Action@v1.2.7 diff --git a/build/windows/setup.iss b/build/windows/setup.iss index c37763a..f7fb315 100644 --- a/build/windows/setup.iss +++ b/build/windows/setup.iss @@ -44,8 +44,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "..\release\install-root\hub\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "..\release\install-root\hub\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\..\release\install-root\hub\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\..\release\install-root\hub\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] From 3f955c5781af3505db28c4a6d25275ab37ad6258 Mon Sep 17 00:00:00 2001 From: Evgeny Prikazchikov Date: Wed, 18 Feb 2026 13:07:55 +0300 Subject: [PATCH 9/9] a --- .github/workflows/main.yml | 2 +- build/windows/setup.iss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8214321..3684113 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -124,7 +124,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: ThundeHub.exe - path: build/release/ThundeHub.exe + path: release/ThunderHub.exe github: name: Upload to GitHub releases diff --git a/build/windows/setup.iss b/build/windows/setup.iss index f7fb315..e9707ae 100644 --- a/build/windows/setup.iss +++ b/build/windows/setup.iss @@ -31,7 +31,7 @@ DisableProgramGroupPage=yes ; Remove the following line to run in administrative install mode (install for all users). PrivilegesRequired=lowest PrivilegesRequiredOverridesAllowed=dialog -OutputDir=..\release +OutputDir=..\..\release OutputBaseFilename=ThunderHub SetupIconFile=..\..\hub\res\Thunder.ico SolidCompression=yes