Skip to content

Commit dbe6396

Browse files
committed
fix install script input method
1 parent 7d25117 commit dbe6396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ install_macos() {
347347
if [[ -d "$MACOS_APP_DIR/$app_name" ]]; then
348348
warning "Existing $app_name found in $MACOS_APP_DIR"
349349
echo "Do you want to replace it? (y/N): "
350-
read -r response
350+
read -r response < /dev/tty
351351
if [[ ! "$response" =~ ^[Yy]$ ]]; then
352352
error "Installation cancelled by user"
353353
fi

0 commit comments

Comments
 (0)