Optimisations

This commit is contained in:
Core 2022-06-03 14:14:48 +01:00
parent 6085da0329
commit 544568c215
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 14 additions and 12 deletions

View file

@ -817,6 +817,19 @@ const app = new Vue({
}
})
/**
* DiscordRPC Reload Return Event
* @author @coredev-uk
*/
ipcRenderer.on('rpcReloaded', (e, user) => {
if (user.username) {
app.notyf.success(app.stringTemplateParser(app.getLz("settings.option.connectivity.discordRPC.reconnectedToUser"), {
user: `${user.username}#${user.discriminator}`,
userid: user.id
}));
}
})
ipcRenderer.on('SoundCheckTag', (event, tag) => {
// let replaygain = self.parseSCTagToRG(tag)
try {