From faa11a24ed770074c190375fbdc52ef53ce2665a Mon Sep 17 00:00:00 2001 From: soywiz Date: Thu, 27 Jun 2024 16:49:56 +0200 Subject: [PATCH] Fix korge wrapper --- korge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korge b/korge index b873894..b5ffef2 100755 --- a/korge +++ b/korge @@ -42,7 +42,7 @@ export JAVA="$HOME/.korge/jdk-21/bin/java" if [ ! -f "$JAVA" ]; then mkdir -p "$HOME/.korge" mkdir "$HOME/.korge/jdk-21" 2> /dev/null - if [[ "${OSTYPE}" == 'dawrin'* ]]; then + if [[ "${OSTYPE}" == 'darwin'* ]]; then download_file "https://github.com/korlibs/universal-jre/releases/download/0.0.1/macos-universal-jdk-21+35-jre.tar.xz" "$HOME/.korge/jdk-21.tar.xz" "d7b2ab87de30584ee60b788dfbd8ea3fadf3b0ee06aeef37ac99e07de6d6281c" tar --strip-components 3 -xf "$HOME/.korge/jdk-21.tar.xz" -C "$HOME/.korge/jdk-21" else