X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2Finstall-macosx;h=721a3d1cf79c7660d6a6f5eea089ff5c0e155ab6;hb=3d276e01ba96e8174e590b101cc9ef002e6cb67b;hp=4aa741e172c2c1605b70c0fe2b552f8a798d1df3;hpb=c07b0cd5881ae4e101c41ffa7a1dc6980c3ef357;p=fw%2Faltos diff --git a/altosui/install-macosx b/altosui/install-macosx index 4aa741e1..721a3d1c 100755 --- a/altosui/install-macosx +++ b/altosui/install-macosx @@ -20,11 +20,11 @@ case `id -u` in esac # Check for java -if ls "$JVM" | grep -q adopt; then - echo "Adopt OpenJDK already present" +if ls "$JVM" | grep -q temurin; then + echo "Adoptium already present" else - open https://adoptopenjdk.net/ - osascript -e 'display dialog "Install Java from https://adoptopenjdk.net then click Continue" buttons {"Continue"} default button 1 with title "Install Java"' >/dev/null + open https://adoptium.net/ + osascript -e 'display dialog "Install Java from https://adoptium.net then click Continue" buttons {"Continue"} default button 1 with title "Install Java"' >/dev/null fi cd "$dir" @@ -51,4 +51,5 @@ for file in *; do ;; esac done +open "${LIBRARY}" osascript -e 'display dialog "Installation of'"${INSTALLED}"' complete" with title "Installation Complete" buttons {"OK"} default button 1' >/dev/null