Fix notification

This commit is contained in:
Maroxy 2021-10-17 00:07:27 +02:00
parent f12ec640cd
commit 1177a8e060

View file

@ -238,7 +238,7 @@ $(() => {
Genshinlib.applyPatch(() => {
LauncherUI.setState('game-launch-available');
}, (data) => console.log(data.toString()));
ipcRenderer.sendSync('notification', { title: document.title, content: 'Finished downloading game.' });
ipcRenderer.send('notification', { title: document.title, content: 'Finished downloading game.' });
}
// Patch is not available