From eeb7915cf7e9a92e0c1d4b957f079604bdaeb73e Mon Sep 17 00:00:00 2001 From: xgui4 <134389196+xgui4@users.noreply.github.com> Date: Sun, 26 Apr 2026 13:39:04 -0400 Subject: [PATCH] update the installer and packages --- .github/workflows/PKGBUILD | 1 + .github/workflows/nightly.yml | 1 - packages/linux/dev/PKGBUILD | 2 +- .../windows/windows-setup-nigthly-preview.iss | 6 ++--- packages/windows/windows-setup-nigthly.iss | 24 +++++++++++-------- packages/windows/windows-setup.iss | 6 ++--- scripts/clean.sh | 2 +- 7 files changed, 23 insertions(+), 19 deletions(-) create mode 120000 .github/workflows/PKGBUILD diff --git a/.github/workflows/PKGBUILD b/.github/workflows/PKGBUILD new file mode 120000 index 0000000..7a6eaa3 --- /dev/null +++ b/.github/workflows/PKGBUILD @@ -0,0 +1 @@ +../../packages/linux/nigthly/PKGBUILD \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8a81603..0267564 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -74,7 +74,6 @@ jobs: - name: Validate and Build package uses: heyhusen/archlinux-package-action@v3.0.0 with: - flags: '-p packages/linux/nigthly/PKGBUILD' namcap: true srcinfo: true diff --git a/packages/linux/dev/PKGBUILD b/packages/linux/dev/PKGBUILD index 6b9cae6..9567da7 100644 --- a/packages/linux/dev/PKGBUILD +++ b/packages/linux/dev/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Xgui4 pkgname=lce-qt-launcher-beta -pkgver=nightly.r26.g221a7c6 +pkgver=nightly.r18.g5a60241 pkgrel=1 pkgdesc="A custom Minecraft LCE Launcher written in Python and Qt with GNU/Linux support in mind. (Beta Build)" arch=('any') diff --git a/packages/windows/windows-setup-nigthly-preview.iss b/packages/windows/windows-setup-nigthly-preview.iss index 875f995..b7b73d7 100644 --- a/packages/windows/windows-setup-nigthly-preview.iss +++ b/packages/windows/windows-setup-nigthly-preview.iss @@ -2,8 +2,8 @@ ; 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 MyAppName "LCE Qt Launcher (Nightly Preview Inno Setup 7 Installer)" +#define MyAppVersion "2026.4.26" #define MyAppPublisher "Xgui4" #define MyAppURL "https://github.com/xgui4/lce-qt-launcher" #define MyAppExeName "main.exe" @@ -33,7 +33,7 @@ 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 +OutputBaseFilename=LCE-Qt-Launcher-Windows-Nigthly-Inno7-Preview-Setup SetupIconFile=..\..\assets\setup.ico SolidCompression=yes WizardStyle=modern dark polar diff --git a/packages/windows/windows-setup-nigthly.iss b/packages/windows/windows-setup-nigthly.iss index 1d9117c..09b5c27 100644 --- a/packages/windows/windows-setup-nigthly.iss +++ b/packages/windows/windows-setup-nigthly.iss @@ -3,7 +3,7 @@ ; Non-commercial use only #define MyAppName "LCE Qt Launcher (Nightly)" -#define MyAppVersion "nightly" +#define MyAppVersion "2026.4.26" #define MyAppPublisher "Xgui4" #define MyAppURL "https://github.com/xgui4/lce-qt-launcher" #define MyAppExeName "main.exe" @@ -23,9 +23,6 @@ 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 @@ -33,19 +30,26 @@ 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 +OutputBaseFilename=LCE-Qt-Launcher-Windows-Nigthly-Setup SetupIconFile=..\..\assets\setup.ico SolidCompression=yes WizardStyle=modern dark polar +; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run +; on anything but x64 and Windows 11 on Arm. ArchitecturesAllowed=x64compatible - -[Tasks] -Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +; "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 [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" Name: "french"; MessagesFile: "compiler:Languages\French.isl" +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + [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 @@ -58,8 +62,8 @@ Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: s 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}" +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 diff --git a/packages/windows/windows-setup.iss b/packages/windows/windows-setup.iss index f466959..7ddd4aa 100644 --- a/packages/windows/windows-setup.iss +++ b/packages/windows/windows-setup.iss @@ -3,7 +3,7 @@ ; Non-commercial use only #define MyAppName "LCE Qt Launcher" -#define MyAppVersion "1.0.0.1" ; Next Beta Version (And the first) +#define MyAppVersion "1.0.0.1" #define MyAppPublisher "Xgui4" #define MyAppURL "https://github.com/xgui4/lce-qt-launcher" #define MyAppExeName "main.exe" @@ -22,7 +22,7 @@ AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} -DefaultDirName={autopf}\ LCE-Qt-Launcher +DefaultDirName={autopf}\{#MyAppName} DisableDirPage=yes UninstallDisplayIcon={app}\{#MyAppExeName} ; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run @@ -41,7 +41,7 @@ InfoAfterFile=..\..\lisezmoi.md ;PrivilegesRequired=lowest PrivilegesRequiredOverridesAllowed=dialog OutputDir=. -OutputBaseFilename=lce-qt-launcher-windows-setup +OutputBaseFilename=LCE-Qt-Launcher-Windows-Setup SetupIconFile=..\..\assets\setup.ico SolidCompression=yes WizardStyle=modern dark polar diff --git a/scripts/clean.sh b/scripts/clean.sh index a88c7cc..dcad1fb 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -23,5 +23,5 @@ do done echo "Removing every pycaches filed" -find . -n '__pycache__' -print0 | xargs rm -rf +find . -name '__pycache__' -print0 | xargs -0 rm -rf echo "done" \ No newline at end of file