mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 17:01:47 +03:00
Update discord
This commit is contained in:
parent
60cdf66a58
commit
f1d39c61a7
2 changed files with 3 additions and 3 deletions
|
@ -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: {
|
||||
|
|
|
@ -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}`
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue