Skip to content

Commit

Permalink
0.6.2
Browse files Browse the repository at this point in the history
- Fixed windows bugs
- Refined the easter egg
  • Loading branch information
Devon committed May 20, 2019
1 parent 9712cf2 commit 663e475
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ icon.ico
install.gif
NS-RPC.dmg
.eslintrc.js
bulma.css
bulma.css
.DS_STORE
10 changes: 7 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function createWindow () {
height: 500,
resizable: false,
maximizable: false,
icon: "icon.png",
icon: __dirname + "/icon.png",
show: false,
webPreferences: {
nodeIntegration: true
Expand All @@ -42,7 +42,7 @@ function createAboutWindow () {
height: 200,
resizable: false,
maximizable: false,
icon: "icon.png",
icon: __dirname + "/icon.png",
show: false,
webPreferences: {
nodeIntegration: true
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 663e475

Please sign in to comment.