ups
This commit is contained in:
parent
1f1e8a7c40
commit
bb44541ec6
@ -23,6 +23,7 @@ exports.initRPC = function(genSettings, servSettings, initialDetails = 'Waiting
|
||||
client.on('ready', () => {
|
||||
logger.log('Discord RPC Connected')
|
||||
client.setActivity(activity)
|
||||
logger.log('Large comment: Discord connected with ' + servSettings.shortId)
|
||||
})
|
||||
|
||||
client.login({clientId: genSettings.clientId}).catch(error => {
|
||||
|
@ -81,6 +81,12 @@ function setDownloadPercentage(value, max, percent = ((value/max)*100)){
|
||||
*/
|
||||
function setLaunchEnabled(val){
|
||||
document.getElementById('launch_button').disabled = !val
|
||||
if (clientInformation.shutdownRPC) {
|
||||
loggerLanding.log('Large comment: ShutdownRPC')
|
||||
}
|
||||
if (clientInformation.onGameClose == true) {
|
||||
loggerLanding.log('Large comment: Game Closed')
|
||||
}
|
||||
}
|
||||
|
||||
// Bind launch button
|
||||
|
BIN
build/icon.png
BIN
build/icon.png
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 178 KiB |
Loading…
Reference in New Issue
Block a user