Skip to content

Commit

Permalink
Updated discord-rpc, changed ad hoc fix to api fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Jun 3, 2018
1 parent 74a60a6 commit 97e9c15
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 32 deletions.
3 changes: 1 addition & 2 deletions app/assets/js/discordwrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ exports.updateDetails = function(details){

exports.shutdownRPC = function(){
if(!rpc) return
// Workaround until discord rpc releases clearActivity()
rpc.request('SET_ACTIVITY', {pid: process.pid})
rpc.clearActivity()
rpc.destroy()
rpc = null
activity = null
Expand Down
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dependencies": {
"adm-zip": "^0.4.11",
"async": "^2.6.1",
"discord-rpc": "^3.0.0-beta.10",
"discord-rpc": "^3.0.0-beta.11",
"ejs": "^2.6.1",
"ejs-electron": "^2.0.3",
"electron-is-dev": "^0.3.0",
Expand Down

0 comments on commit 97e9c15

Please sign in to comment.