From c6e1c7afe02c57920476a88cb0ce42b7d83dcfba Mon Sep 17 00:00:00 2001 From: flathubbot Date: Wed, 10 Dec 2025 20:40:54 +0000 Subject: [PATCH 1/4] vscode: Update code.deb to 1.107.0 --- com.visualstudio.code.metainfo.xml | 5 ++++- com.visualstudio.code.yaml | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/com.visualstudio.code.metainfo.xml b/com.visualstudio.code.metainfo.xml index d7fc05c..646e151 100644 --- a/com.visualstudio.code.metainfo.xml +++ b/com.visualstudio.code.metainfo.xml @@ -24,9 +24,12 @@ moderate - + + + + diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index 552e5b4..721d4dc 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -120,9 +120,9 @@ modules: - type: extra-data filename: code.deb only-arches: [x86_64] - url: https://update.code.visualstudio.com/1.106.3/linux-deb-x64/stable - sha256: f26c3a808fb2d34107b353b2ce73fd0acee012f90ffe598deff50789739152cc - size: 113519914 + url: https://update.code.visualstudio.com/1.107.0/linux-deb-x64/stable + sha256: 88a9198b18c6df0b807c716861af7cbb403bc9bc4dd5617803b01dc03efd785b + size: 114395550 x-checker-data: type: json url: https://api.github.com/repos/microsoft/vscode/releases/latest @@ -134,9 +134,9 @@ modules: - type: extra-data filename: code.deb only-arches: [aarch64] - url: https://update.code.visualstudio.com/1.106.3/linux-deb-arm64/stable - sha256: cfc6584816e321360e544f11d0295e93916519a5b91dff60454203215af4a7ab - size: 104791286 + url: https://update.code.visualstudio.com/1.107.0/linux-deb-arm64/stable + sha256: 18759cd554dbd4311e6c60e3a85085eb9a8e4b8a58612be5b1556e033bc7ea7a + size: 104836282 x-checker-data: type: json url: https://api.github.com/repos/microsoft/vscode/releases/latest From 8fed65782adb84fb0e9f5ab38f4d401e095f7340 Mon Sep 17 00:00:00 2001 From: Cedric Staniewski Date: Thu, 11 Dec 2025 02:00:45 +0100 Subject: [PATCH 2/4] Use libsecret from base app The branch 25.08 of the base app `org.electronjs.Electron2.BaseApp` already provides libsecret with the crypto backend disabled. Ref: https://github.com/flathub/org.electronjs.Electron2.BaseApp/commit/24e075eb32f6d638874f7d5533337350a3eb0a0d --- com.visualstudio.code.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index 721d4dc..80f575b 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -40,31 +40,6 @@ cleanup: - /share/gtk-doc - '*.la' modules: - # Provide libsecret without gcrypt, forcing it to use the D-Bus backend - # https://github.com/flathub/org.signal.Signal/pull/756/commits/2caf105b18f906e7707f67b3cf7384a21f461564 - - name: libsecret - buildsystem: meson - config-opts: - - -Dmanpage=false - - -Dcrypto=disabled - - -Dvapi=false - - -Dgtk_doc=false - - -Dintrospection=false - - -Dbash_completion=disabled - cleanup: - - /bin - - /include - - /lib/pkgconfig - - /share/man - sources: - - type: archive - url: https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz - sha256: 6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e - x-checker-data: - type: gnome - name: libsecret - stable-only: true - - name: vscode buildsystem: simple build-commands: From 7c5d45820600094f00dcb8d1a34ecd4f3709e05d Mon Sep 17 00:00:00 2001 From: Cedric Staniewski Date: Thu, 11 Dec 2025 02:06:05 +0100 Subject: [PATCH 3/4] Fix startup on Wayland systems vscode has been updated to Electron 39, which uses Wayland by default on systems where the environment variable `XDG_SESSION_TYPE` is set to `wayland`. On these systems, vscode no longer starts if the Wayland socket is not present. This commit makes the Wayland socket available in the sandbox to fix this issue. --- com.visualstudio.code.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index 80f575b..f87234b 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -11,7 +11,8 @@ finish-args: - --require-version=0.10.3 - --share=network - --share=ipc - - --socket=x11 + - --socket=wayland + - --socket=fallback-x11 - --socket=pulseaudio - --socket=ssh-auth - --device=all From e45bb7d9bc94be1120c9453f7995ee26b01e2a1d Mon Sep 17 00:00:00 2001 From: Jose Castillo Lema Date: Wed, 12 Mar 2025 20:02:08 +0100 Subject: [PATCH 4/4] Fix ms-enable-electron-run-as-node warning Signed-off-by: Jose Castillo Lema --- code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code.sh b/code.sh index de8d0ec..e8e63f4 100755 --- a/code.sh +++ b/code.sh @@ -66,5 +66,5 @@ fi exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \ /app/bin/zypak-wrapper.sh /app/extra/vscode/code /app/extra/vscode/resources/app/out/cli.js \ - --ms-enable-electron-run-as-node --extensions-dir=${XDG_DATA_HOME}/vscode/extensions \ + --extensions-dir=${XDG_DATA_HOME}/vscode/extensions \ "$@" ${WARNING_FILE}