From a05f3a0163bad9d699797886a544f7b7b66f5f7f Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 8 Mar 2026 16:17:27 +0100 Subject: [PATCH] Auto-Updater: Separate Update-URL entfernt /downloads ist per Pangolin Path-Rule ohne Auth erreichbar, daher braucht der Auto-Updater keine eigene Subdomain mehr. Co-Authored-By: Claude Opus 4.6 --- electron/main.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/electron/main.js b/electron/main.js index 5d2942c..222d873 100644 --- a/electron/main.js +++ b/electron/main.js @@ -12,8 +12,7 @@ try { } const HUB_URL = process.env.GAMING_HUB_URL || 'https://hub.daddelolymp.de'; -// Separate URL for auto-updates (no Pangolin auth, publicly accessible) -const UPDATE_URL = process.env.GAMING_HUB_UPDATE_URL || 'https://updates.daddelolymp.de'; +// Auto-Updates laufen über HUB_URL — /downloads ist per Pangolin-Rule ohne Auth erreichbar const APP_VERSION = app.getVersion(); // Sync IPC: preload reads app version from package.json @@ -25,8 +24,8 @@ function setupAutoUpdater() { if (process.platform !== 'win32') return; // Squirrel.Windows appends /RELEASES to the feed URL. - // Uses separate subdomain without Pangolin auth (Squirrel has no browser session). - const updateURL = `${UPDATE_URL}/downloads`; + // /downloads ist per Pangolin-Rule ohne Auth erreichbar (Squirrel hat keine Browser-Session). + const updateURL = `${HUB_URL}/downloads`; try { autoUpdater.setFeedURL({ url: updateURL }); } catch (e) {