Skip to content

Commit 880bf57

Browse files
authored
Fix install script input method (#886)
1 parent 5033e60 commit 880bf57

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
@@ -348,7 +348,7 @@ install_macos() {
348348
if [[ -d "$MACOS_APP_DIR/$app_name" ]]; then
349349
warning "Existing $app_name found in $MACOS_APP_DIR"
350350
echo "Do you want to replace it? (y/N): "
351-
read -r response
351+
read -r response < /dev/tty
352352
if [[ ! "$response" =~ ^[Yy]$ ]]; then
353353
error "Installation cancelled by user"
354354
fi

0 commit comments

Comments
 (0)