Skip to content

Commit 8336669

Browse files
committed
chore: remove obsolete comment, don't use electron-log anymore
1 parent e423ff2 commit 8336669

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

electron/main/index.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { app } from 'electron';
22
import { config as initializeDotenv } from 'dotenv-flow';
3+
import { initializeApp } from './initialize-app.js';
34
import { initializeSentry } from './sentry/initialize-sentry.js';
45

56
// Unfortunately in development mode, the app name is 'Electron'.
@@ -12,10 +13,4 @@ app.setAppUserModelId('com.github.dragonrealms-phoenix.phoenix');
1213
initializeDotenv();
1314
initializeSentry();
1415

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');
2116
await initializeApp();

0 commit comments

Comments
 (0)