Commit 8336669 1 parent e423ff2 commit 8336669 Copy full SHA for 8336669
File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { app } from 'electron' ;
2
2
import { config as initializeDotenv } from 'dotenv-flow' ;
3
+ import { initializeApp } from './initialize-app.js' ;
3
4
import { initializeSentry } from './sentry/initialize-sentry.js' ;
4
5
5
6
// Unfortunately in development mode, the app name is 'Electron'.
@@ -12,10 +13,4 @@ app.setAppUserModelId('com.github.dragonrealms-phoenix.phoenix');
12
13
initializeDotenv ( ) ;
13
14
initializeSentry ( ) ;
14
15
15
- // Once electron-log is initialized then it's safe for us to
16
- // import and use other modules that depend on logging.
17
- // Otherwise, those modules prematurely create logger instances.
18
- // To ensure no imported module (or their dependencies) loads prematurely,
19
- // then we dynamically import the app initialization module at the right time.
20
- const { initializeApp } = await import ( './initialize-app.js' ) ;
21
16
await initializeApp ( ) ;
You can’t perform that action at this time.
0 commit comments