* even more windows fixes
This commit is contained in:
parent
75876abc1a
commit
f901892523
|
@ -49,10 +49,12 @@ function launch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function windows_fetch_java() {
|
function windows_fetch_java() {
|
||||||
|
pushd /meow
|
||||||
if [[ $(ls jdk-18*) == '' ]]; then
|
if [[ $(ls jdk-18*) == '' ]]; then
|
||||||
url="$(curl https://jdk.java.net/18/ | grep windows-x64 | grep -Poh 'https:.*?zip"' | sed 's/"//')"
|
url="$(curl https://jdk.java.net/18/ | grep windows-x64 | grep -Poh 'https:.*?zip"' | sed 's/"//')"
|
||||||
|
|
||||||
curl -o java.zip "$url"
|
curl -o java.zip "$url"
|
||||||
7z x java.zip
|
7z x java.zip
|
||||||
fi
|
fi
|
||||||
|
popd
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# https://github.com/achadwick/styrene/
|
# https://github.com/achadwick/styrene/
|
||||||
|
|
||||||
[bundle]
|
[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
|
filename_stub = curseme
|
||||||
display_name = CurseMe
|
display_name = CurseMe
|
||||||
description = 3rd-party Minecraft launcher
|
description = 3rd-party Minecraft launcher
|
||||||
|
|
Loading…
Reference in a new issue