From 61433bfeeaf2263bd5ba59e2574a938fd230fe91 Mon Sep 17 00:00:00 2001 From: chasem-dev Date: Thu, 22 Jan 2026 10:18:28 -0500 Subject: [PATCH] Fix Linux metadata files in workflow and improve error handling --- .github/workflows/release.yml | 4 +- GUI/js/update.js | 90 +++++++++++++++++- backend/appUpdater.js | 166 +++++++++++++++++++++++++++++++++- preload.js | 3 + 4 files changed, 255 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f8216a..f7aeef8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: dist/*.deb dist/*.rpm dist/*.pacman - dist/latest.yml + dist/latest*.yml build-windows: runs-on: windows-latest @@ -115,4 +115,4 @@ jobs: generate_release_notes: true draft: true # DYNAMIC FLAGS: Mark as pre-release ONLY IF it's NOT a tag (meaning it's a branch push) - prerelease: ${{ github.ref_type != 'tag' }} + prerelease: ${{ github.ref_type != 'tag' }} \ No newline at end of file diff --git a/GUI/js/update.js b/GUI/js/update.js index bd1403c..9f78f80 100644 --- a/GUI/js/update.js +++ b/GUI/js/update.js @@ -23,6 +23,10 @@ class ClientUpdateManager { this.showUpdateDownloaded(updateInfo); }); + window.electronAPI.onUpdateError((errorInfo) => { + this.handleUpdateError(errorInfo); + }); + this.checkForUpdatesOnDemand(); } @@ -57,6 +61,10 @@ class ClientUpdateManager {
A new version of Hytale F2P Launcher is available.
Downloading update automatically... +