Skip to content

Discord Rich Presence integration for Nintendo Switch.

Notifications You must be signed in to change notification settings

nazpyro/SwitchRPC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwitchRPC

Discord Rich Presence integration for Nintendo Switch. SwitchRPC is a Rich Presence application for Discord that allows you to set your game, and some details about it. If you have any issues or find any bugs you can get assistance on the support server.

Installation

If you're on windows, head over to the releases tab and grab the latest release. (Open up "Assets" and download the SwitchRPC-Setup.exe file.)

Mac and Linux installers coming soon™.

Manual Installation (Useful for Mac and Linux Installs)

The dollar sign ($) denotes that you're using the command line/a terminal. Don't actually type it. To get to the terminal, open the "Terminal" app or similar (in the Applications/Utilities folder on macOS).

  1. Download and install node.js (either version should work fine)
  2. Clone this repository:
    $ git clone https://github.com/NintenZone/SwitchRPC.git or download and decompress the source code from the latest release
  3. CD into the directory you downloaded
    $ cd ~/Downloads/SwitchRPC for example
  4. Install dependencies
    $ npm install
  5. Install electron globally, if not already installed
    $ sudo npm install electron -g
    Note: This will prompt for a password. This is your computer login password, and it won't show up while you type. Type it in and press enter. This is necessary to install the "Electron" app that SwitchRPC runs on.
  6. Run the app!
    $ electron .

You may find it useful to create a script to run the app in the future. To do so, type the following in your terminal:

$ cat > run.sh
#!/bin/bash
electron "${0%/*}"

Press the key combo Control + D at this point, and your terminal should return to a normal prompt. Run this final command:
$ chmod +x run.sh

Then, if you're on macOS, right click on the new "run.sh" file created, choose "Get Info", and change "Opens With" to Terminal. (You will need to select Other, Terminal is in the Utilities folder, and change from Recommended Applications to All Applications at the bottom of the GUI shown.)

And you should now be able to open "run.sh" like a regular file to open the app. You can drag this script to the second half of your dock on macOS (and rename it to your liking).

Copyright 2018-2021 NintenZone Technologies. Nintendo Switch, and the Nintendo Switch logos are property of Nintendo.

About

Discord Rich Presence integration for Nintendo Switch.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 76.5%
  • JavaScript 23.5%