Fix: Changed how setup.sh script is restarted.

This commit is contained in:
Keyitdev
2025-08-30 16:46:02 +02:00
parent f759e87431
commit c10bd95054
+1 -1
View File
@@ -96,7 +96,7 @@ check_gum() {
if ! command -v gum &>/dev/null; then
warn "Gum was not found - provides better UI experience"
if confirm "Install gum?"; then
install_gum && { info "Restarting with gum..."; exec "$0" "$@"; } || warn "Using fallback UI"
install_gum && { info "Restarting with gum..."; main; } || warn "Using fallback UI"
fi
fi
}