From 537efe1b7fa6eb10574485839e2cb27f85ec92a4 Mon Sep 17 00:00:00 2001 From: Volker Schlegel Date: Tue, 17 Mar 2026 16:53:27 +0100 Subject: [PATCH] Use wget instead of curl A few people have had issues with the script not working at all due to an unstable network connection, wget should be more reliable in those circumstances --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 1111912..0966b33 100755 --- a/start.sh +++ b/start.sh @@ -37,7 +37,7 @@ if [ ! -f "./Peacock/chunk0.js" ]; then info_message "Grabbing Peacock" - curl -sSLJO -H "Accept: application/octet-stream" "https://github.com/thepeacockproject/Peacock/releases/download/${LATEST_RELEASE}/${FILE_NAME}" && + wget "https://github.com/thepeacockproject/Peacock/releases/download/${LATEST_RELEASE}/${FILE_NAME}" && unzip -q ${FILE_NAME} && rm ${FILE_NAME} && mv ${FOLDER_NAME} Peacock @@ -85,7 +85,7 @@ if ! command -v node &>/dev/null && [ ! -d "./node" ]; then # Install node mkdir node - curl -sS $node_url | tar --strip-components=1 -C node -zxf - + wget $node_url && tar --strip-components=1 -C node -xf ./node-*.tar.gz if [ $? -eq 0 ]; then success_message "Installed Node.js"