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

Commit 674c02b

Browse files
authored
Merge pull request #40 from Tustin/development
Version 3.0.2
2 parents c92de1f + 770ff05 commit 674c02b

File tree

3 files changed

+266
-280
lines changed

3 files changed

+266
-280
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playstationdiscord",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Discord Rich Presence for PlayStation consoles.",
55
"main": "./dist/app.js",
66
"build": {

src/app.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ axios.interceptors.request.use((request) => {
6767
return request;
6868
});
6969

70-
app.setAppUserModelId(process.execPath);
70+
app.setAppUserModelId('com.tustin.playstationdiscord');
7171

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

244244
let richPresenceRetries : number;
245+
let supportedTitleId : string;
245246

246247
function updateRichPresence() : void
247248
{
248-
let supportedTitleId : string;
249-
250249
playstationAccount.profile()
251250
.then((profile) => {
252251
if (profile.primaryOnlineStatus !== 'online')

0 commit comments

Comments
 (0)