Skip to content

Commit 32cd428

Browse files
committed
fix: hide run message when no display
1 parent fe69234 commit 32cd428

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/install_depthai.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,8 @@ fi
112112
# Final success message
113113
echo "Installation complete successfully"
114114
echo -e '\n\n:::::::::::::::: INSTALLATION COMPLETE ::::::::::::::::\n'
115-
echo -e '\nTo run demo app, write **depthai-viewer** in terminal.'
115+
if [[ $(uname -s) == "Darwin" ]]; then
116+
echo -e '\nTo run demo app, write **depthai-viewer** in terminal.'
117+
elif [[ $DISPLAY != "" ]]; then
118+
echo -e '\nTo run demo app, write **depthai-viewer** in terminal or run **depthai-viewer** from the terminal.'
119+
fi

0 commit comments

Comments
 (0)