Skip to content

Commit 21d1e5d

Browse files
committed
[code] fix #4780: desktop support
1 parent bef62ba commit 21d1e5d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/ide/code/leeway.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RUN curl -fsSL https://github.com/raw/nvm-sh/nvm/v0.38.0/install.sh |
4242
&& npm install -g yarn node-gyp
4343
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
4444

45-
ENV GP_CODE_COMMIT 06711200f6a3a19af94f91102fd49d921b1145db
45+
ENV GP_CODE_COMMIT 9bc86ad1d6f3f7116ef96003983738963fd70a6f
4646
RUN mkdir gp-code \
4747
&& cd gp-code \
4848
&& git init \
@@ -51,6 +51,7 @@ RUN mkdir gp-code \
5151
&& git reset --hard FETCH_HEAD
5252
WORKDIR /gp-code
5353
RUN yarn
54+
RUN yarn gitpod:link
5455
RUN yarn gulp gitpod-min
5556

5657
# grant write permissions for built-in extensions
@@ -77,5 +78,5 @@ ENV GITPOD_ENV_SET_EDITOR /ide/bin/code
7778
ENV GITPOD_ENV_SET_VISUAL "$GITPOD_ENV_SET_EDITOR"
7879
ENV GITPOD_ENV_SET_GP_OPEN_EDITOR "$GITPOD_ENV_SET_EDITOR"
7980
ENV GITPOD_ENV_SET_GIT_EDITOR "$GITPOD_ENV_SET_EDITOR --wait"
80-
ENV GITPOD_ENV_SET_GP_PREVIEW_BROWSER "/ide/bin/code --command gitpod.api.preview"
81-
ENV GITPOD_ENV_SET_GP_EXTERNAL_BROWSER "/ide/bin/code --open-external"
81+
ENV GITPOD_ENV_SET_GP_PREVIEW_BROWSER "/ide/bin/code --preview"
82+
ENV GITPOD_ENV_SET_GP_EXTERNAL_BROWSER "/ide/bin/code --openExternal"

0 commit comments

Comments
 (0)