Using the link to this repo

This commit is contained in:
Toastie 2025-02-24 13:59:39 +13:00
parent a8b71e26f1
commit e2dd9a6f11
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
2 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ install_bot() {
local arch
arch=$(get_arch)
local output="ellie-new"
local tar_url="https://toastielab.dev/EllieBotDevs/elliebot/releases/download/${version}/ellie-${arch}.tar.gz"
local tar_url="https://toastielab.dev/toastie_t0ast/elliebot/releases/download/${version}/ellie-${arch}.tar.gz"
[[ $arch == "unsupported" ]] && { echo "${RED}ERROR: Unsupported architecture${NC}" >&2; return 1; }
@ -131,7 +131,7 @@ install_submenu() {
local versions
# get versions from /refs/tags github endpoint
mapfile -t versions < <(curl -s https://toastielab.dev/api/v1/repos/EllieBotDevs/elliebot/git/refs/tags | grep -oP '"ref": "refs/tags/\K[^"]+')
mapfile -t versions < <(curl -s https://toastielab.dev/api/v1/repos/toastie_t0ast/elliebot/git/refs/tags | grep -oP '"ref": "refs/tags/\K[^"]+')
echo "${CYAN}Select version to install:${NC}"
select version in "${versions[@]}"; do
@ -204,7 +204,7 @@ run_bot() {
}
install_music_dependencies() {
curl -L -o e-musicreq.sh https://toastielab.dev/EllieBotDevs/ellie-bash-installer/raw/branch/v5/e-prereq.sh || {
curl -L -o e-musicreq.sh https://toastielab.dev/toastie_t0ast/ellie-bash-installer/raw/branch/v6/e-prereq.sh || {
echo "ERROR: Failed to download the music dependencies installer"
return 1
}

View file

@ -5,7 +5,7 @@ echo "Downloading the latest installer..."
root=$(pwd)
rm "$root/e-bin.sh" 1>/dev/null 2>&1
curl -L -o "$root/e-bin.sh" https://toastielab.dev/EllieBotDevs/ellie-bash-installer/raw/branch/v6/e-bin.sh
curl -L -o "$root/e-bin.sh" https://toastielab.dev/toastie_t0ast/ellie-bash-installer/raw/branch/v6/e-bin.sh
bash e-bin.sh
cd "$root"