Skip to content

Commit 2897b4a

Browse files
committed
fix: auto-launch app after install (non-interactive)
Remove interactive prompt since stdin is not available when piping from curl
1 parent d8edc29 commit 2897b4a

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

scripts/install.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,11 @@ echo ""
163163
echo -e "Location: ${BOLD}$INSTALL_DIR/$APP_NAME.app${NC}"
164164
echo ""
165165

166-
# Prompt to launch
167-
echo -e -n "Launch LyricGlow now? [Y/n] "
168-
read -r REPLY
169-
if [[ "$REPLY" =~ ^[Nn]$ ]]; then
170-
echo ""
171-
echo -e "To launch later: ${BOLD}open -a LyricGlow${NC}"
172-
else
173-
echo -e "${BLUE}*${NC} Launching LyricGlow..."
174-
open "$INSTALL_DIR/$APP_NAME.app"
175-
fi
166+
# Launch the app automatically (non-interactive install)
167+
echo -e "${BLUE}*${NC} Launching LyricGlow..."
168+
open "$INSTALL_DIR/$APP_NAME.app"
176169

177170
echo ""
178171
echo -e "Enjoy your music with synchronized lyrics!"
172+
echo -e "To quit: Click the menu bar icon → Quit"
179173
echo ""

0 commit comments

Comments
 (0)