Chatterino / chatterino-browser-ext

26 stars 17 forks source link

feat: display a warning when not on Windows #50

Closed leon-richardt closed 3 years ago

leon-richardt commented 3 years ago

Description

Closes #49.

Since only Windows is supported at the time of writing, it makes sense to be display that information when users try to run the extension on anything other than Windows.

This information is also available on the extension settings page, but much more discoverable here.

Screenshot ![Screenshot of warning message on Linux](https://user-images.githubusercontent.com/35232120/103098920-d7dbf300-460c-11eb-91af-5affe17540a4.png)

Additional Information

Would be great if someone could test this on Windows and Mac as well. Code criticism is very welcome as I rarely work with JavaScript and this is my first time hacking away at a browser extension.

ALazyMeme commented 3 years ago

PauseChamp

ALazyMeme commented 3 years ago

@pajlada review pls 😄