Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #40 from Tustin/development
Browse files Browse the repository at this point in the history
Version 3.0.2
  • Loading branch information
Tustin authored Mar 8, 2019
2 parents c92de1f + 770ff05 commit 674c02b
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 280 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playstationdiscord",
"version": "3.0.1",
"version": "3.0.2",
"description": "Discord Rich Presence for PlayStation consoles.",
"main": "./dist/app.js",
"build": {
Expand Down
5 changes: 2 additions & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ axios.interceptors.request.use((request) => {
return request;
});

app.setAppUserModelId(process.execPath);
app.setAppUserModelId('com.tustin.playstationdiscord');

// Relevant: https://i.imgur.com/7QDkNqx.png
function showMessageAndDie(message: string, detail?: string) : void
Expand Down Expand Up @@ -242,11 +242,10 @@ function spawnMainWindow() : void
}

let richPresenceRetries : number;
let supportedTitleId : string;

function updateRichPresence() : void
{
let supportedTitleId : string;

playstationAccount.profile()
.then((profile) => {
if (profile.primaryOnlineStatus !== 'online')
Expand Down
Loading

0 comments on commit 674c02b

Please sign in to comment.