From 9dbec0d2976a367c55b9c78a4f55b0ea7a885d9c Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 17 Aug 2022 16:52:06 -0400 Subject: [PATCH] [O] Optimize home mac detection --- scripts/includes/home-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/includes/home-mac.sh b/scripts/includes/home-mac.sh index 5b3fb79..cc359ec 100644 --- a/scripts/includes/home-mac.sh +++ b/scripts/includes/home-mac.sh @@ -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"