diff --git a/.gitignore b/.gitignore index c5392d4..219a9e9 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ icon.ico install.gif NS-RPC.dmg .eslintrc.js -bulma.css \ No newline at end of file +bulma.css +.DS_STORE \ No newline at end of file diff --git a/index.js b/index.js index bf34004..445bf8b 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ function createWindow () { height: 500, resizable: false, maximizable: false, - icon: "icon.png", + icon: __dirname + "/icon.png", show: false, webPreferences: { nodeIntegration: true @@ -42,7 +42,7 @@ function createAboutWindow () { height: 200, resizable: false, maximizable: false, - icon: "icon.png", + icon: __dirname + "/icon.png", show: false, webPreferences: { nodeIntegration: true @@ -86,7 +86,11 @@ ipcMain.on("about", () => { // Sets the presence to idle function setIdle() { - if (idle === 16) return rpc.updatePresence({largeImageKey: "poo"}); + if (idle === 16) return rpc.updatePresence({ + details: "Yoshi's Fucking Island", + state: "ccomign This Sprign", + largeImageKey: "yfi", + largeImageText: "he's sitting there.."}); rpc.updatePresence({ details: "Home", state: "Idle", diff --git a/package.json b/package.json index d24948b..549e543 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "ns-rpc", - "version": "0.6.0", + "name": "NS-RPC", + "version": "0.6.2", "description": "The definitive way to display your Nintendo Switch games in Discord.", "main": "index.js", "scripts": {