Skip to content

Commit

Permalink
Update projector_entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
956237586 authored Nov 29, 2024
1 parent 008c5ff commit 7c48923
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workspace-ubuntu/static/projector_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ enable_jcef(){
}
echo "Idea Starting with USER_UID : $USER_UID"
echo "Idea Starting with USER_GID : $USER_GID"

if [ x$1 == xprojector ]; then
echo -n "projector" > /tmp/ideamode
fi
if [ x$(cat /tmp/ideamode) == x"projector" ]; then
disable_jcef
echo "starting projector service"
Expand Down

0 comments on commit 7c48923

Please sign in to comment.