[+] Add home mac detection for home-mac.sh
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
if [[ $OSTYPE == 'darwin'* ]]; then
|
# Home mac only
|
||||||
|
if [[ $OSTYPE == 'darwin'* ]] && [ -d "/Volumes/External" ]; then
|
||||||
# Minecraft
|
# Minecraft
|
||||||
export MC_DIR="/Volumes/External/Minecraft"
|
export MC_DIR="/Volumes/External/Minecraft"
|
||||||
alias minecraft="pushd $MC_DIR; java8 -jar $MC_DIR/HMCL-*.jar; popd"
|
alias minecraft="pushd $MC_DIR; java8 -jar $MC_DIR/HMCL-*.jar; popd"
|
||||||
|
|||||||
Reference in New Issue
Block a user