mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Update install.sh
This commit is contained in:
+3
-3
@@ -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
|
## 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
|
mkdir sharpbin
|
||||||
cd /usr/local/bin/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 {}
|
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
|
read secretkey
|
||||||
|
|
||||||
|
|
||||||
echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json
|
echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user