From 2d95828b3fc05d664b04f496884e81c76882b7c5 Mon Sep 17 00:00:00 2001 From: taicrafter Date: Sun, 10 May 2026 18:54:44 +0200 Subject: [PATCH] Fixed Non-Interactive Installers --- setup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index f413d91..2783eda 100755 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main/" +URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main" function _promptBool(){ while true; do read -r -p "$1 [y/n]: " res < /dev/tty @@ -41,9 +41,10 @@ function AppInstaller(){ while IFS= read -r APPNAME; do #Handle Install if _promptBool "Install $APPNAME?"; then - echo "Downloading Installer: $URI/$OS_TYPE/$APPNAME.sh" - curl -fsSL "$URI/$OS_TYPE/$APPNAME.sh" -o "$TMP_FILE" - bash "$TMP_FILE" + SOURCE="$URI/$OS_TYPE/installers/$APPNAME.sh" + echo "Downloading Installer: $SOURCE" + curl -fsSL "$SOURCE" -o "$TMP_FILE" + bash "$TMP_FILE" < /dev/tty fi done <<< "$APPS" else