From 553b1a12dbf52339079b65a02ec09971e071a9cb Mon Sep 17 00:00:00 2001 From: whoswhip <124531971+whoswhip@users.noreply.github.com> Date: Sat, 19 Oct 2024 00:12:01 -0400 Subject: [PATCH] Update install.sh --- PasteBin/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PasteBin/install.sh b/PasteBin/install.sh index 4f88950..54e5204 100644 --- a/PasteBin/install.sh +++ b/PasteBin/install.sh @@ -6,8 +6,8 @@ ## This is a semi completed script to install Sharpbin on Linux, however it does not set it as a system daemon/service, cause idk how to do that lol ## -sudo mkdir -p /usr/local/bin/Sharpbin -cd /usr/local/bin/Sharpbin +mkdir sharpbin +cd sharpbin curl -s "https://api.github.com/repos/whoswhip/Sharpbin/releases/latest" | jq -r '.assets[] | select(.name | test("sharpbin-linux.tar$")) | .browser_download_url' | xargs -I {} curl -L -o sharpbin-linux.tar {} @@ -20,4 +20,4 @@ echo "Enter your cloudflare secretkey: " read secretkey -echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json \ No newline at end of file +echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json