Skip to content

Commit

Permalink
Update custom_startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
956237586 authored Nov 29, 2024
1 parent 4650b84 commit dd7e639
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workspace-ubuntu/static/custom_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ echo -e "\n\n------------------Staring custom_startup.sh ------------------"
set -ex
# TODO replace START_COMMAND depends on env settings on startup
# if xxx
START_COMMAND="/projector/ide/bin/idea.sh"
START_COMMAND="/projector/projector_entrypoint.sh"
PGREP="com.intellij.idea.Main"
export MAXIMIZE="false"
export MAXIMIZE_NAME="Idea"
Expand All @@ -16,6 +16,7 @@ MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
DEFAULT_ARGS=""
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
echo -n 1 > /tmp/autorestart
echo -n "projector" > /tmp/ideamode
options=$(getopt -o gau: -l go,assign,url: -n "$0" -- "$@") || exit
eval set -- "$options"

Expand Down Expand Up @@ -99,4 +100,4 @@ else
kasm_startup
echo "-----------End kasm_startup"
fi
echo -e "\n\n------------------End custom_startup.sh ------------------"
echo -e "\n\n------------------End custom_startup.sh ------------------"

0 comments on commit dd7e639

Please sign in to comment.