Sync Discord Rich Prescence Version with Frontend Version
pr1sm opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
#421 adds Discord Rich Presence functionality to the frontend and includes the current version the bot runs on. However, this version is statically set and will need to get updated manually when a new version is released.
Describe the solution you'd like
Instead of manually updating the version every time we release a new version, we should rely on electron
s app.getVersion()
function to retrieve and use that version. This would keep the Discord Rich Presence version in line with the current frontend version.
Describe alternatives you've considered
There are other methods to retrieve the frontend's current version, but none are as clean as using electron, since everything is done using a single function.
Additional context
Originally from https://github.com/walmat/nebula/pull/421#discussion_r279166144