internal: move home server into internal flag

This commit is contained in:
Mo
2023-07-05 10:53:10 -05:00
parent d4db3e055c
commit c9c93d143a
16 changed files with 47 additions and 29 deletions

View File

@@ -28,6 +28,7 @@ export function initializeApplication(args: { app: Electron.App; ipcMain: Electr
if (isDev()) {
/** Expose the app's state as a global variable. Useful for debugging */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
;(global as any).appState = state
setTimeout(() => {
@@ -124,7 +125,6 @@ async function finishApplicationInitialization({ app, shell, state }: { app: App
})
if (state.isRunningVersionForFirstTime()) {
console.log('Clearing window cache')
await windowState.window.webContents.session.clearCache()
}