diff --git a/bin/download b/bin/download index 11b6c01..a6842f0 100755 --- a/bin/download +++ b/bin/download @@ -11,7 +11,7 @@ source "${plugin_dir}/lib/utils.bash" mkdir -p "$ASDF_DOWNLOAD_PATH" # TODO: Adapt this to proper extension and adapt extracting strategy. -release_file="$ASDF_DOWNLOAD_PATH/$ASDF_INSTALL_VERSION/$TOOL_NAME.tar.gz" +release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.gz" # Download tar.gz file to the download directory download_release "$ASDF_INSTALL_VERSION" "$release_file" diff --git a/lib/utils.bash b/lib/utils.bash index db2688c..6f0f57b 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -59,6 +59,8 @@ download_release() { # TODO: Adapt the release URL convention for process-compose #https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_linux_arm.tar.gz + #https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_darwin_arm64.tar.gz + #https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_darwin_arm64.tar.gz url="$GH_REPO/releases/download/v${version}/process-compose_$(get_arch)_$(get_cpu).tar.gz" echo "* Downloading $TOOL_NAME release $version..."