Giter Site home page Giter Site logo

nintenzone / switchrpc Goto Github PK

View Code? Open in Web Editor NEW
209.0 13.0 34.0 201 KB

Discord Rich Presence integration for Nintendo Switch.

HTML 76.45% JavaScript 23.55%
nintendo nintendoswitch discord discordapp discordrpc discordrichpresence discord-rich-presence nintenzone nintengamer64 electron

switchrpc's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.