Update discord

This commit is contained in:
Maroxy 2022-01-05 00:19:33 +01:00
parent 60cdf66a58
commit f1d39c61a7
No known key found for this signature in database
GPG key ID: F4B27EADB21E3021
2 changed files with 3 additions and 3 deletions

View file

@ -108,11 +108,11 @@ export default class Launcher
details: 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'],
// @ts-expect-error
state: 'in-game' ? ddiscord.fields.states['in-game'] : undefined,
state: 'in-game' ? discord.fields.states['in-game'] : undefined,
icon: {
// @ts-expect-error
large: state === 'in-launcher' ? 'launcher' : discord.fields.icon
large: state == 'in-launcher' ? 'launcher' : discord.fields.icon
},
time: {

View file

@ -14,7 +14,7 @@ export default class DiscordRPC
this.params = params;
let exec = [
`${NL_CWD}/public/discord-rpc/discord-rpc`,
`"${NL_CWD}/public/discord-rpc/discord-rpc"`,
`-a ${params.id}`
];