make helper script print warning about macos

This commit is contained in:
urmum-69 2020-07-23 23:08:21 +01:00
parent 46d43349b2
commit 86143877e8
No known key found for this signature in database
GPG key ID: DA3E39691FDC863B

View file

@ -4,9 +4,9 @@
# Origin https://git.snopyta.org/twosecslater/bluebomb-helper.git
# Authors urmum_69, twosecslater
if [[ -n $(uname -a | grep "Microsoft\|MSYS\|CYGWIN") ]]; then printf "\033[1;91mNOTICE\033[0m:\n======\n\nBlueBomb does NOT work under Windows, nor the \"Windows Subsystem for Linux\"."; exit; fi
if [[ -n $(uname -a | grep "Microsoft\|MSYS\|CYGWIN\|Darwin") ]]; then printf "\033[1;91mNOTICE\033[0m:\n======\n\nBlueBomb does NOT work under MacOS, Windows, nor the \"Windows Subsystem for Linux\"."; exit; fi
version="0.1.2"
version="0.1.3"
helpmsg="Need further help? You can either join the Wii Mini Hacking Discord server (recommended) at https://discord.gg/6ryxnkS, the RiiConnect24 Discord server at https://discord.gg/b4Y7jfD or you can send an e-mail to support@riiconnect24.net and we'll try to assist. "
# set variable $sudo if the user is not root, so sudo is only used if absolutely needed