diff --git a/README.md b/README.md index bda9ad9..3f5b246 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ Takes curseforge minecraft modpacks and installs them without the closed-source, glibc-dependent curseforge client. +### Dependencies + +- p7zip +- jq +- bash +- curl +- java (well, duh) +- busybox OR gnu coreutils (tested on busybox ;3) + ### Usage 1. Download a ZIP file from curseforge. This is hidden - curse really wants you to use their application. Go to Files -> Main File -> (click on the name) -> `Download` (NOT `Install`) diff --git a/getToken.sh b/getToken.sh index f71d388..442883c 100755 --- a/getToken.sh +++ b/getToken.sh @@ -6,7 +6,7 @@ fi mkdir -p wrk; cd wrk -wget https://curseforge.overwolf.com/downloads/curseforge-latest-linux.zip +curl -O https://curseforge.overwolf.com/downloads/curseforge-latest-linux.zip 7z -y x curseforge-latest-linux.zip 7z -y x *.AppImage grep -Poh 'cfCoreApiKey":".*?"' resources/app/dist/desktop/desktop.js | sed 's/.*://;s/"//g' > ../token