Skip to content

Commit

Permalink
Discord RPC frissítése
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyta committed Jul 26, 2019
1 parent c944250 commit d89360a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/assets/distribution.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"servers": [
{
"id": "NewHope_1.14.4",
"name": "NewHope (legfrissebb)",
"name": "Verzió 1.14.4 (legfrissebb)",
"description": "A legfrissebb verzió, amellyel csatlakothatsz a szerverre.",
"icon": "https://raw.githubusercontent.com/pepyta/NewHopeLauncher/master/app/assets/images/NewHopeIcon.ico",
"version": "1.0.0",
Expand Down
8 changes: 2 additions & 6 deletions app/assets/js/discordwrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ exports.initRPC = function(genSettings, servSettings, initialDetails = 'Waiting
client = new Client({ transport: 'ipc' })

activity = {
details: initialDetails,
state: 'Server: ' + servSettings.shortId,
state: "Éppen a NewHope-pal játszik!", //'Server: ' + servSettings.shortId,
largeImageKey: servSettings.largeImageKey,
largeImageText: servSettings.largeImageText,
smallImageKey: genSettings.smallImageKey,
smallImageText: genSettings.smallImageText,
startTimestamp: new Date().getTime(),
largeImageText: "NewHope",
instance: false
}

Expand Down

0 comments on commit d89360a

Please sign in to comment.