From 5a8611d7b04150249c1b7695f8caea019fae2349 Mon Sep 17 00:00:00 2001 From: Xgui4 Studio <134389196+xgui4@users.noreply.github.com> Date: Sat, 25 Apr 2026 20:39:40 -0400 Subject: [PATCH] updateminors bug fiz + stable versions for niightly build --- .github/workflows/stable-release.yml | 7 +- data/defaults_instances/default.lce_inst | 2 +- .../legacy_evolved.lce_inst | 2 +- data/defaults_instances/neoLegacy.lce_inst | 2 +- data/guide.jsonc | 8 ++- .../windows/windows-setup-nigthly-preview.iss | 66 +++++++++++++++++++ packages/windows/windows-setup-nigthly.iss | 2 +- 7 files changed, 80 insertions(+), 9 deletions(-) create mode 100644 packages/windows/windows-setup-nigthly-preview.iss diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 7ef37dd..59650d1 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -2,7 +2,8 @@ name: Build and Publish Stable Version on: push: - tag: ["v0.0.1b"] + tags: + - v0.0.1b jobs: build_windows_installer: @@ -15,7 +16,7 @@ jobs: - name: Compile .ISS to .EXE Installer uses: Minionguyjpro/Inno-Setup-Action@v1.2.2 with: - path: packages/windows/windows-setup.iss + path: packages\windows\windows-setup.iss options: '/O+ /F"LCE_Qt_Launcher_Windows_Setup"' build_arch_installer: runs-on: ubuntu-latest @@ -26,6 +27,6 @@ jobs: - name: Validate package uses: heyhusen/archlinux-package-action@v3.0.0 with: - flags: '-p packages/linux/stable/PKGBUILD' + flags: '-p ../packages/linux/stable/PKGBUILD' namcap: true srcinfo: true \ No newline at end of file diff --git a/data/defaults_instances/default.lce_inst b/data/defaults_instances/default.lce_inst index 28f2fbe..d07e260 100644 --- a/data/defaults_instances/default.lce_inst +++ b/data/defaults_instances/default.lce_inst @@ -1,5 +1,5 @@ { - "$schema" : "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/master/schemas/lce_qrt_inst_config.json", + "$schema" : "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/nightly/schemas/x-application-lce_inst_config.json", "name": "Default", "installation_path": ".lce", "username": "Steve", diff --git a/data/defaults_instances/legacy_evolved.lce_inst b/data/defaults_instances/legacy_evolved.lce_inst index 3c80187..f73d8a7 100644 --- a/data/defaults_instances/legacy_evolved.lce_inst +++ b/data/defaults_instances/legacy_evolved.lce_inst @@ -1,5 +1,5 @@ { - "$schema" : "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/master/schemas/lce_qrt_inst_config.json", + "$schema" : "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/nightly/schemas/x-application-lce_inst_config.json", "name" : "Legacy Evolved (Superspeeded by neoLegacy)", "installation_path": ".lce-evolved", "username" : "Steve", diff --git a/data/defaults_instances/neoLegacy.lce_inst b/data/defaults_instances/neoLegacy.lce_inst index bffd5e8..190296a 100644 --- a/data/defaults_instances/neoLegacy.lce_inst +++ b/data/defaults_instances/neoLegacy.lce_inst @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/master/schemas/lce_qrt_inst_config.json", + "$schema": "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/nightly/schemas/x-application-lce_inst_config.json", "name": "pieeebot neoLegacy", "instance_type": "InstanceType.CLIENT_VANILLA", "instance_source": "InstanceSource.GITHUB_RELEASE", diff --git a/data/guide.jsonc b/data/guide.jsonc index 24c9b5a..a8fcbbf 100644 --- a/data/guide.jsonc +++ b/data/guide.jsonc @@ -1,5 +1,5 @@ { - "$schema" : "https://raw.githubusercontent.com/xgui4/LCE-Qt-Launcher/refs/heads/master/schemas/lce_qrt_inst_config.json", + "$schema" : "../schemas/x-application-lce_inst_config.json", "name" : "default", // Name of the instance "installation_path": ".lce", // Installation Path of the game files "username" : "Steve", // Your Username @@ -14,6 +14,10 @@ // InstanceSource.LOCAL_INSTALLATION = Local Installation (not implemented yet) // InstanceSource.LOCAL_SOURCE_CODE = Local Source Code (not implemented yet) "instance_source" : "InstanceSource.GITHUB_RELEASE", + // InstanceType.CLIENT_VANILLA = #TODO To implement and write documentation + // InstanceType.CLENT_MODDED = #TODO To implement and write documentation + // InstanceType.SERVER_VANILLA = #TODO To implement and write documentation + // InstanceType.SERVER_MODDED = #TODO To implement and write documentation "instance_type": "InstanceType.CLIENT_VANILLA", // Type of the instance (not implemented/functionnal yet) - "version" : "nightly" // version/tag of the release + "version" : "nightly" // version/tag of the release of rhe instance to download } diff --git a/packages/windows/windows-setup-nigthly-preview.iss b/packages/windows/windows-setup-nigthly-preview.iss new file mode 100644 index 0000000..875f995 --- /dev/null +++ b/packages/windows/windows-setup-nigthly-preview.iss @@ -0,0 +1,66 @@ +; 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 "LCE Qt Launcher (Nightly)" +#define MyAppVersion "nightly" +#define MyAppPublisher "Xgui4" +#define MyAppURL "https://github.com/xgui4/lce-qt-launcher" +#define MyAppExeName "main.exe" +#define MyAppAssocName "LCE Qt Launcher Instance Save File" +#define MyAppAssocExt ".lce_inst" +#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt + +[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={{470F6276-B9D8-413D-8D6A-95767B7E6571} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +ArchiveExtraction=full +; Use "ArchiveExtraction=enhanced" if all your archives are .7z files +; Use "ArchiveExtraction=enhanced/nopassword" if all your archives are not password-protected +DefaultGroupName={#MyAppName} +LicenseFile=..\..\license.md +InfoBeforeFile=..\..\code-of-conduct.md +InfoAfterFile=..\..\readme.md +; Uncomment the following line to run in non administrative install mode (install for current user only). +;PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputBaseFilename=nightly-build-x64 +SetupIconFile=..\..\assets\setup.ico +SolidCompression=yes +WizardStyle=modern dark polar +SetupArchitecture=x64 + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" +Name: "french"; MessagesFile: "compiler:Languages\French.isl" + +[Files] +; NOTE: Use the "issigverify" flag or the "Hash" parameter to verify downloads +Source: "https://github.com/xgui4/LCE-Qt-Launcher/releases/download/nightly/LCE-Qt-Launcher-Windows.zip"; DestDir: "{app}"; DestName: "LCE-Qt-Launcher-Windows.zip"; ExternalSize: "186646528"; Flags: ignoreversion external download extractarchive recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Registry] +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0" +Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1""" + +[Icons] +Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}" +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/packages/windows/windows-setup-nigthly.iss b/packages/windows/windows-setup-nigthly.iss index 875f995..1d9117c 100644 --- a/packages/windows/windows-setup-nigthly.iss +++ b/packages/windows/windows-setup-nigthly.iss @@ -37,7 +37,7 @@ OutputBaseFilename=nightly-build-x64 SetupIconFile=..\..\assets\setup.ico SolidCompression=yes WizardStyle=modern dark polar -SetupArchitecture=x64 +ArchitecturesAllowed=x64compatible [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked