From f901892523cb2616199563387b2f90fc5a8b94de Mon Sep 17 00:00:00 2001 From: Dominika Date: Wed, 15 Jun 2022 03:37:33 +0200 Subject: [PATCH] * even more windows fixes --- launcher/launch.sh | 2 ++ launcher/windows/curseme.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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