Skip to content

Commit

Permalink
Improve recoveryOS detection in install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
F1248 committed Aug 23, 2024
1 parent e920e6f commit c5ae86a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ fi
/bin/echo "Installing..."
/usr/bin/unzip -q -o Genius.zip
/usr/bin/unzip -q -o Genius.zip
if [ ! -e /System/Library/CoreServices/Finder.app ]; then
/bin/echo "
export PATH=\"$(/bin/pwd)/Genius.app/Contents/MacOS:\$PATH\"" >> ~/.bash_profile
fi

/bin/echo "Cleaning up..."
/bin/rm Genius.zip
Expand All @@ -23,8 +27,6 @@ fi
if [ -e /usr/bin/open ]; then
/usr/bin/open Genius.app
else
/bin/echo "
export PATH=\"$(/bin/pwd)/Genius.app/Contents/MacOS:\$PATH\"" >> ~/.bash_profile
Genius.app/Contents/MacOS/Genius
fi

Expand Down

0 comments on commit c5ae86a

Please sign in to comment.