mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix: fixed an issue with the initial launch in certain regions, such as South Korea
This commit is contained in:
2
index.ts
2
index.ts
@ -393,7 +393,7 @@ app.once('browser-window-created', (event, win) => {
|
||||
console.log(log);
|
||||
}
|
||||
|
||||
if (!(config.plugins.isEnabled('in-app-menu') && errorCode === -3)) { // -3 is a false positive with in-app-menu
|
||||
if (errorCode !== -3) { // -3 is a false positive
|
||||
win.webContents.send('log', log);
|
||||
win.webContents.loadFile(path.join(__dirname, 'error.html'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user