[O] Optimize home mac detection

This commit is contained in:
Hykilpikonna
2022-08-17 16:52:06 -04:00
parent 792ed4f09e
commit 9dbec0d297
+1 -1
View File
@@ -1,5 +1,5 @@
# Home mac only
if [[ $OSTYPE == 'darwin'* ]] && [ -d "/Volumes/External" ]; then
if [[ $OSTYPE == 'darwin'* ]] && [[ $HOST == 'HyDEV' ]]; then
# Minecraft
export MC_DIR="/Volumes/External/Minecraft"
alias minecraft="pushd $MC_DIR; java17 -jar $MC_DIR/HMCL-*.jar; popd"