Skip to content

Commit 59a7fe4

Browse files
authored
Merge pull request #13 from rwstauner/install-archive
Download archives
2 parents 45926dd + ed27446 commit 59a7fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ readonly g_filename_template=__BINARY_NAME__-v__VERSION__-__PLATFORM__
1919
# available : __GITHUB_COORDINATES__/__VERSION__/__VERSION_SHORT__/__FILENAME__
2020
#
2121
# shellcheck disable=SC2034
22-
readonly g_download_url_template=https://github.com/__GITHUB_COORDINATES__/releases/download/v__VERSION__/__FILENAME__
22+
readonly g_download_url_template=https://github.com/__GITHUB_COORDINATES__/releases/download/v__VERSION__/__FILENAME__.tar.gz
2323
#
2424
# available : __ARCHIVE_DIR__/__BINARY_NAME__/__VERSION__/__VERSION_SHORT__/__PLATFORM__
2525
#
26-
readonly g_binary_path_in_archive_template=__ARCHIVE_DIR__/__BINARY_NAME__-v__VERSION__-__PLATFORM__
27-
readonly g_downloaded_file_is_not_an_archive=true
26+
readonly g_binary_path_in_archive_template=__ARCHIVE_DIR__/__BINARY_NAME__
27+
readonly g_downloaded_file_is_not_an_archive=false
2828
readonly g_platform_pattern=uname_l_dash_amd64 # one of uname_c_x86_64|uname_l_dash_amd64|uname_l_underscore_amd64|custom
2929

3030
# Borrowed to someone, but I don't remember who it was, sorry :(

0 commit comments

Comments
 (0)