From 243879c87702c7d9b8b11186cecb092db1180643 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..c83862ea 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -130,6 +130,13 @@ function initializeApp() { mainWindow.center(); + if ( + (settings.get('mainSettings.configDownloadUrl') as string) === + 'https://cdn.flybywiresim.com/installer/config/production.json' + ) { + settings.set('mainSettings.configDownloadUrl', packageInfo.configUrls.production); + } + if (import.meta.env.DEV) { mainWindow.webContents.openDevTools(); }