[+] Add home mac detection for home-mac.sh

This commit is contained in:
Hykilpikonna
2021-09-16 22:18:33 -04:00
parent 3b505a5c09
commit 54b93bb92b
+2 -1
View File
@@ -1,4 +1,5 @@
if [[ $OSTYPE == 'darwin'* ]]; then
# Home mac only
if [[ $OSTYPE == 'darwin'* ]] && [ -d "/Volumes/External" ]; then
# Minecraft
export MC_DIR="/Volumes/External/Minecraft"
alias minecraft="pushd $MC_DIR; java8 -jar $MC_DIR/HMCL-*.jar; popd"