mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-30 05:28:15 +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'],
|
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: {
|
||||||
|
|
|
@ -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}`
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue