diff --git a/backtrace_install.sh b/backtrace_install.sh index f30474e..5f751a1 100644 --- a/backtrace_install.sh +++ b/backtrace_install.sh @@ -2,12 +2,11 @@ arch=$(uname -m) if [ "$arch" = "x86_64" ]; then - wget -q -O backtrace.tar.gz https://github.com/oneclickvirt/backtrace/releases/latest/download/backtrace-linux-amd64.tar.gz + wget -q -O backtrace.tar.gz https://github.com/oneclickvirt/backtrace/releases/output/backtrace-linux-amd64 + mv backtrace-linux-amd64 backtrace else - wget -q -O backtrace.tar.gz https://github.com/oneclickvirt/backtrace/releases/latest/download/backtrace-linux-arm64.tar.gz + wget -q -O backtrace.tar.gz https://github.com/oneclickvirt/backtrace/releases/output/backtrace-linux-arm64 + mv backtrace-linux-arm64 backtrace fi - -tar -xf backtrace.tar.gz -rm backtrace.tar.gz mv backtrace /usr/bin/ backtrace \ No newline at end of file