Removed window prefs to use default provided ones as they already specify context isolation and disabling of node integration
Refactored discord rpc updating to be its own file
Added void's to get rid of warnings about unused promises
Edit
noticed discord rpc only attempt connection when the app is first started. refactored the logic so that it will attempt to reconnect/update regardless of if discord is open first before the game starts, it will now update.
updated polling time to be 15 seconds since that seems to be the rate limit for discord
Edit