From 500ba3550948502afe22e77eb1334b0c58e151c9 Mon Sep 17 00:00:00 2001 From: gr1m0h Date: Fri, 2 Feb 2024 01:49:20 +0900 Subject: [PATCH] wip --- bin/download | 2 +- bin/install | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/download b/bin/download index 35ccaad..e6dc27d 100755 --- a/bin/download +++ b/bin/download @@ -22,7 +22,7 @@ case "$(uname -s)" in DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_linux_ard64.tgz" ;; "x86_64") - DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_darwin_amd64.tgz" + DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_linux_amd64.tgz" ;; esac ;; diff --git a/bin/install b/bin/install index b3ac484..d591418 100755 --- a/bin/install +++ b/bin/install @@ -9,6 +9,10 @@ mkdir -p "${ASDF_INSTALL_PATH}/bin" toolPath="${ASDF_INSTALL_PATH}/bin/gotop" cd "${ASDF_DOWNLOAD_PATH}" +echo 1 tar xzf gotop.tgz +echo 2 mv ./gotop "${toolPath}" +echo 3 chmod +x "${toolPath}" +echo 4