Improve loading speed of desktop app (#4865)

# Description of Changes
Improve loading speed of desktop app by loading a default config until
the backend has spawned.
This commit is contained in:
James Brunton
2025-11-11 11:54:43 +00:00
committed by GitHub
parent 4d349c047b
commit 044bf3c2aa
21 changed files with 622 additions and 137 deletions
@@ -0,0 +1,10 @@
import { AppConfig } from '@app/contexts/AppConfigContext';
/**
* Default configuration used while the bundled backend starts up.
*/
export const DESKTOP_DEFAULT_APP_CONFIG: AppConfig = {
enableLogin: false,
premiumEnabled: false,
runningProOrHigher: false,
};