update install script 2

This commit is contained in:
Uber Veng
2026-05-29 11:52:08 +07:00
parent 8c6ed94850
commit 958a729880

View File

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