From 7c48923185558f0a33caae17bf04fb5430488b92 Mon Sep 17 00:00:00 2001 From: HuangYongliang Date: Fri, 29 Nov 2024 17:31:00 +0800 Subject: [PATCH] Update projector_entrypoint.sh --- workspace-ubuntu/static/projector_entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workspace-ubuntu/static/projector_entrypoint.sh b/workspace-ubuntu/static/projector_entrypoint.sh index f2e972c..dfaabf5 100644 --- a/workspace-ubuntu/static/projector_entrypoint.sh +++ b/workspace-ubuntu/static/projector_entrypoint.sh @@ -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"