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) {