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