diff --git a/installCurl.sh b/installCurl.sh new file mode 100644 index 0000000..4c6488e --- /dev/null +++ b/installCurl.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Grab the binaries attached as release assets +curl -s https://api.github.com/repos/getcouragenow/main/releases/latest | jq -r ".assets[] | .browser_download_url" | xargs wget + +# Get the code as tar.gz, decompress.. +curl -L "$(curl -s https://api.github.com/repos/applinh-getcouragenow/main/releases/latest | jq -r ".tarball_url")" > main.tar.gz +chmod 700 main.tar.gz +mkdir main +tar xzvf main.tar.gz -C main --strip-components=1 +# .. then maybe cd inside it +# run make command +# then delete everything keep only the binaries \ No newline at end of file