Skip to content

Commit

Permalink
fix: move people to new installer config url (#490)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Kopp <[email protected]>
  • Loading branch information
FoxtrotSierra6829 and frankkopp authored Nov 17, 2024
1 parent 5d4e807 commit 6d332ce
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 @@ -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();
}
Expand Down

0 comments on commit 6d332ce

Please sign in to comment.