Skip to content

Commit b0de33c

Browse files
committed
Revert "fix: fix the issue where the screen module in Electron is loaded prematurely with a low probability. (#6473)"
This reverts commit f99ade3.
1 parent df77e87 commit b0de33c

File tree

1 file changed

+2
-1
lines changed
  • apps/desktop/src-electron

1 file changed

+2
-1
lines changed

apps/desktop/src-electron/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ import {
5151
startServices,
5252
} from './service';
5353

54+
initSentry();
55+
5456
logger.initialize();
5557
logger.transports.file.maxSize = 1024 * 1024 * 10;
5658

@@ -960,7 +962,6 @@ if (!singleInstance && !process.mas) {
960962

961963
app.name = APP_NAME;
962964
app.on('ready', async () => {
963-
initSentry();
964965
const locale = await initLocale();
965966
logger.info('locale >>>> ', locale);
966967
startServices();

0 commit comments

Comments
 (0)