mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 18:48:14 +03:00
Fix Discord RPC
This commit is contained in:
parent
7baef05f26
commit
b37bba9be4
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ $(() => {
|
||||||
|
|
||||||
ipcRenderer.on('rpc-toggle', () => {
|
ipcRenderer.on('rpc-toggle', () => {
|
||||||
DiscordRPC.isActive() ?
|
DiscordRPC.isActive() ?
|
||||||
DiscordRPC.init() :
|
DiscordRPC.close() :
|
||||||
DiscordRPC.close();
|
DiscordRPC.init();
|
||||||
});
|
});
|
||||||
|
|
||||||
// FIXME
|
// FIXME
|
||||||
|
|
Loading…
Reference in a new issue