Ephenia / Pokeclicker-Scripts

Various scripts & enhancements for the game Pokéclicker.
https://github.com/Ephenia/Pokeclicker-Scripts
GNU General Public License v3.0
184 stars 263 forks source link

Fix rare desktop crash #382

Closed umbralOptimatum closed 4 months ago

umbralOptimatum commented 5 months ago

Fixes a desktop bug that in any reasonable world wouldn't be enough to crash the whole game, Javascript why are you like this

umbralOptimatum commented 4 months ago

Added notifications when using an outdated desktop client. This uses the Electron version as a clunky workaround for the client's reported version being unreliable (see #383), so it won't detect desktop version changes that don't update Electron. Still, better than nothing.