Slight adjustments.

This commit is contained in:
Toastie 2025-01-30 23:28:25 +13:00
parent 0209679e97
commit bea13dd124
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -15,7 +15,7 @@ NC="$(printf '\033[0m')" # No color.
readonly YELLOW GREEN BLUE CYAN RED NC
## Toastielab project details
readonly API_URL="https://toastielab.dev/api"
readonly API_URL="https://toastielab.dev/api/v1/repos/EllieBotDevs/elliebot"
## other constants.
readonly BOT_EXECUTABLE="EllieBot"
@ -163,7 +163,7 @@ install_software() {
local archive_dir_name
local archive_name="elliebot-v${version}.tar"
local arch; arch=$(get_arch)
local tar_url="${API_URL}/packages/EllieBotDevs/generic/EllieBot-build/${version}/${version}-${arch}-build.tar"
local tar_url="${API_URL}/packages/generic/elliebot-build/${version}/${version}-${arch}-build.tar"
## NOTE: We could move this outside of the function, such that when the script is
## executed, the architecture is determined once, then exit the script if the