diff --git a/launcher/launch.sh b/launcher/launch.sh index 6fad434..6edd061 100755 --- a/launcher/launch.sh +++ b/launcher/launch.sh @@ -49,10 +49,12 @@ function launch() { } function windows_fetch_java() { + pushd /meow if [[ $(ls jdk-18*) == '' ]]; then url="$(curl https://jdk.java.net/18/ | grep windows-x64 | grep -Poh 'https:.*?zip"' | sed 's/"//')" curl -o java.zip "$url" 7z x java.zip fi + popd } diff --git a/launcher/windows/curseme.cfg b/launcher/windows/curseme.cfg index 546afc2..a7097ba 100644 --- a/launcher/windows/curseme.cfg +++ b/launcher/windows/curseme.cfg @@ -2,7 +2,7 @@ # https://github.com/achadwick/styrene/ [bundle] -packages = p7zip {pkg_prefix}jq {pkg_prefix}curl msys2-runtime grep sed {pkg_prefix}termcap ncurses +packages = p7zip {pkg_prefix}jq {pkg_prefix}curl msys2-runtime grep sed {pkg_prefix}termcap ncurses awk findutils filename_stub = curseme display_name = CurseMe description = 3rd-party Minecraft launcher