From 861b71715c8da5e4632bfdb478065d99b26dc2a7 Mon Sep 17 00:00:00 2001 From: FoxtrotSierra Date: Thu, 31 Oct 2024 16:32:21 +0200 Subject: [PATCH] fix: move people to new installer config url --- src/main/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index 418a6062..701eb249 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -118,6 +118,13 @@ function initializeApp() { const lastY = settings.get('cache.main.lastWindowY'); const shouldMaximize = settings.get('cache.main.maximized'); + if ( + (settings.get('mainSettings.configDownloadUrl') as string) === + 'https://cdn.flybywiresim.com/installer/config/production.json' + ) { + settings.set('mainSettings.configDownloadUrl', packageInfo.configUrls.production); + } + if (shouldMaximize) { mainWindow.maximize(); } else if (lastX && lastY) {