Skip to content

Commit 572a023

Browse files
committed
fix: fixed an issue with the initial launch in certain regions, such as South Korea
1 parent 9187f1e commit 572a023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ app.once('browser-window-created', (event, win) => {
393393
console.log(log);
394394
}
395395

396-
if (!(config.plugins.isEnabled('in-app-menu') && errorCode === -3)) { // -3 is a false positive with in-app-menu
396+
if (errorCode !== -3) { // -3 is a false positive
397397
win.webContents.send('log', log);
398398
win.webContents.loadFile(path.join(__dirname, 'error.html'));
399399
}

0 commit comments

Comments
 (0)