Skip to content

Commit

Permalink
fix: move people to new installer config url
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxtrotSierra6829 committed Oct 31, 2024
1 parent 2a4d16a commit 861b717
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ function initializeApp() {
const lastY = settings.get<string, number>('cache.main.lastWindowY');
const shouldMaximize = settings.get<string, boolean>('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) {
Expand Down

0 comments on commit 861b717

Please sign in to comment.