update install script 3

This commit is contained in:
Uber Veng
2026-05-29 11:55:33 +07:00
parent 958a729880
commit c484f2deb8

View File

@@ -108,8 +108,8 @@ fi
echo ""
ok "Launching ${BINARY}..."
if tty_dev=$(tty 2>/dev/null); then
exec "$INSTALL_DIR/$BINARY" <"$tty_dev" >"$tty_dev" 2>"$tty_dev"
if { true </dev/tty; } 2>/dev/null; then
exec "$INSTALL_DIR/$BINARY" </dev/tty >/dev/tty 2>/dev/tty
else
ok "Run: $BINARY"
fi