-
-
Notifications
You must be signed in to change notification settings - Fork 37
Customization
Customizing, changing, and modifying SimplePresence to fit your needs.
- Open
config.json
with Atom (install it from the link on the Setup page) - Change the
textConfig
text andsmallText
/largeText
to the text you'd like to show on your Rich Presence by default - Start SimplePresence by running
npm run start
- Go to this page and create an app. The name you choose will show up in place of the default
with code
. - Creating it will give you a
Client ID
, openconfig.json
and put it for theclientID
- Scroll down to the bottom of the app page and press
Enable Rich Presence
- Upload an image as the "small" type and an image as the "large" type
- Put whatever you called them when uploading them (for example,
large
) for thesmallKey
andlargeKey
withinimageConfig
inconfig.json
(Note: You can putnone
forsmallKey
to only have a large image) - Start SimplePresence with
npm run start
NOTE: After you've made a custom app and changed the ID in the config, you can then use the "upload images" button to open the page where you can upload images. This button can be disabled by changing showButton
to false
in config.json
.
EasyRPC now supports building it as a package/app, which allows you to run and use it without the CLI. Make sure you do all necessary configuration and image options, as you can't change default text and image configs without re-packaging. 0. If you are on Windows, open an administrator command prompt by opening the start menu, searching for "Command Prompt", right clicking and selecting "Run As Administrator"
- Run
npm install electron-packager -g
(orsudo npm install electron-packager -g
on macOS and Linux) in the folder where you have SimplePresence's files - Run
electron-packager .
to package SimplePresence - You should find your app, native for the platform you are currently on, inside a new folder. The folder is named in the output:
Wrote new app to /Foo/Bar/SimplePresence/SimplePresence-darwin-x64
- Go inside the folder and run the app.
- You should see the SimplePresence app working, with it's customization UI. As noted above, this will set your rich presence, and you can edit the text through this app, but some configs cannot be changed after packaging, unless you package again.
SimplePresence has support for start and end Rich Presence timestamps.
- In
config.json
, changetimeType
tostart
orend
depending on if you want a count down (end) or count up (start) - Change
whatTime
to any amount of time - for example,0s
will count up from 0 seconds if used with astart
timestamp. - Start SimplePresence with
npm run start
NOTE: whatTime
supports any time format, for example, 5m
, 1d
, 1440s
, or 1ms