File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
DeskThingServer/src/main/lifecycle Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ export async function initializeAppLifecycle(): Promise<void> {
4343 await setupIpcHandlers ( )
4444 await loadModules ( )
4545 await updateLoadingStatus ( 'Creating main window' )
46+ } )
4647
47- // Close loading window once main window is ready
48- mainWindow . once ( 'ready-to-show' , async ( ) => {
49- await updateLoadingStatus ( 'Finishing Up...' )
50- closeLoadingWindow ( )
51- mainWindow . show ( )
52- } )
48+ mainWindow . once ( 'ready-to-show' , async ( ) => {
49+ await updateLoadingStatus ( 'Finishing Up...' )
50+ closeLoadingWindow ( )
51+ mainWindow . show ( )
5352 } )
53+
5454 app . on ( 'before-quit' , async ( ) => {
5555 console . log ( 'Quitting app' )
5656 const { default : cacheManager } = await import ( '../services/cache/cacheManager' )
You can’t perform that action at this time.
0 commit comments