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'], details: 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'],
// @ts-expect-error // @ts-expect-error
state: 'in-game' ? ddiscord.fields.states['in-game'] : undefined, state: 'in-game' ? discord.fields.states['in-game'] : undefined,
icon: { icon: {
// @ts-expect-error // @ts-expect-error
large: state === 'in-launcher' ? 'launcher' : discord.fields.icon large: state == 'in-launcher' ? 'launcher' : discord.fields.icon
}, },
time: { time: {

View file

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