Bundled discord-rpc doesn't work under Wine on Linux, so I have disabled it via ini.
The problem is that there are still calls to DiscordRPC.Shutdown() even if it's already disabled, e.g. when opening Options window.
To avoid that I moved all RPC interactions to DiscordController, and if it's null there are no calls to the RPC.
Bundled discord-rpc doesn't work under Wine on Linux, so I have disabled it via
ini
. The problem is that there are still calls toDiscordRPC.Shutdown()
even if it's already disabled, e.g. when openingOptions
window. To avoid that I moved all RPC interactions toDiscordController
, and if it'snull
there are no calls to the RPC.