edipox / wunderlistux

An electron wrapper for wunderlist made with :heart: for Linux (specially for elementary OS)
288 stars 25 forks source link

added check for running the script in a terminal #12

Closed xpilgrim closed 7 years ago

xpilgrim commented 7 years ago

For users, they are unfamiliar with using the terminal, they may be running the script with a double click from the file browser. In this case, the users get no response of the error. With this piece of code, a zenity box informs the users.

edipox commented 7 years ago

Yeah, that's a good point. Thank you very much for the PR @xpilgrim merging it now