Skip to content

Add zypak and update to 1.60.2#251

Merged
barthalion merged 3 commits intoflathub:masterfrom
bytzo:add-zypak
Sep 30, 2021
Merged

Add zypak and update to 1.60.2#251
barthalion merged 3 commits intoflathub:masterfrom
bytzo:add-zypak

Conversation

@bytzo
Copy link
Copy Markdown
Contributor

@bytzo bytzo commented Sep 19, 2021

This pull request adds zypak and updates Visual Studio Code to 1.60.2. While there is already work on adding zypak in #237, it has been stale for almost two months and command line arguments do not appear to work.

In this pull request, command line arguments should still function properly with the exception of --wait. I am unaware of a solution for this. Note that the --reuse-window command line argument also does not function properly, however this issue exists in previous versions and is not caused by this pull request.

This fixes #223 and fixes #247.

@flathubbot
Copy link
Copy Markdown
Contributor

Started test build 60164

@flathubbot
Copy link
Copy Markdown
Contributor

Build 60164 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/58032/com.visualstudio.code.flatpakref

@flathubbot
Copy link
Copy Markdown
Contributor

Started test build 60726

@flathubbot
Copy link
Copy Markdown
Contributor

Build 60726 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/58579/com.visualstudio.code.flatpakref

@bytzo bytzo changed the title Add zypak and update to 1.60.1 Add zypak and update to 1.60.2 Sep 23, 2021
@hunger hunger mentioned this pull request Sep 29, 2021

exec env PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \
/app/extra/vscode/bin/code --extensions-dir=${XDG_DATA_HOME}/vscode/extensions "$@" ${WARNING_FILE}
exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about patching /app/extra/vscode/bin/code to use zypak-wrapper? It seems like a better solution than bypassing upstream's wrapper script.

The Electron base app contains some useful Electron dependencies such as zypak. Using the base app can help reduce the duplication of dependencies.

Co-authored-by: Teoh Han Hui <teohhanhui@gmail.com>
@flathubbot
Copy link
Copy Markdown
Contributor

Started test build 61704

@flathubbot
Copy link
Copy Markdown
Contributor

Build 61704 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/59537/com.visualstudio.code.flatpakref

@barthalion
Copy link
Copy Markdown
Member

@bytzo @teohhanhui Can you folks ping me when you submit a PR and need a review/someone to merge? That might be the best way to proceed, as the app is not actively maintained.

@barthalion barthalion merged commit 4538e48 into flathub:master Sep 30, 2021
@teohhanhui
Copy link
Copy Markdown
Contributor

@barthalion Would you consider adding more maintainers? I'm not a Flatpak expert but I'd love to be able to help... I use vscode every day, if nothing else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New version The SUID sandbox helper binary was found, but is not configured correctly.

4 participants