mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
fix: Discord RPC check (#315)
This commit is contained in:
parent
7e95771957
commit
16790ca416
@ -615,7 +615,7 @@ async function dlAsync(login = true) {
|
|||||||
setLaunchDetails(Lang.queryJS('landing.dlAsync.doneEnjoyServer'))
|
setLaunchDetails(Lang.queryJS('landing.dlAsync.doneEnjoyServer'))
|
||||||
|
|
||||||
// Init Discord Hook
|
// Init Discord Hook
|
||||||
if(distro.rawDistribution.discord != null && serv.rawServerdiscord != null){
|
if(distro.rawDistribution.discord != null && serv.rawServer.discord != null){
|
||||||
DiscordWrapper.initRPC(distro.rawDistribution.discord, serv.rawServer.discord)
|
DiscordWrapper.initRPC(distro.rawDistribution.discord, serv.rawServer.discord)
|
||||||
hasRPC = true
|
hasRPC = true
|
||||||
proc.on('close', (code, signal) => {
|
proc.on('close', (code, signal) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user