Skip to content

Commit 701663d

Browse files
Merge pull request #636 from xduugu/wayland-fix
Update vscode to 1.107.0 and fix startup on Wayland systems
2 parents 0a5f055 + e45bb7d commit 701663d

File tree

3 files changed

+13
-34
lines changed

3 files changed

+13
-34
lines changed

code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ fi
6666

6767
exec env ELECTRON_RUN_AS_NODE=1 PATH="${PATH}:${XDG_DATA_HOME}/node_modules/bin" \
6868
/app/bin/zypak-wrapper.sh /app/extra/vscode/code /app/extra/vscode/resources/app/out/cli.js \
69-
--ms-enable-electron-run-as-node --extensions-dir=${XDG_DATA_HOME}/vscode/extensions \
69+
--extensions-dir=${XDG_DATA_HOME}/vscode/extensions \
7070
"$@" ${WARNING_FILE}

com.visualstudio.code.metainfo.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@
2424
<content_attribute id="social-info">moderate</content_attribute>
2525
</content_rating>
2626
<releases>
27-
<release version="1.106.3" date="2025-11-26">
27+
<release version="1.107.0" date="2025-12-10">
2828
<description></description>
2929
</release>
30+
<release version="1.106.3" date="2025-11-26">
31+
<description/>
32+
</release>
3033
<release version="1.106.0" date="2025-11-12">
3134
<description/>
3235
</release>

com.visualstudio.code.yaml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ finish-args:
1111
- --require-version=0.10.3
1212
- --share=network
1313
- --share=ipc
14-
- --socket=x11
14+
- --socket=wayland
15+
- --socket=fallback-x11
1516
- --socket=pulseaudio
1617
- --socket=ssh-auth
1718
- --device=all
@@ -40,31 +41,6 @@ cleanup:
4041
- /share/gtk-doc
4142
- '*.la'
4243
modules:
43-
# Provide libsecret without gcrypt, forcing it to use the D-Bus backend
44-
# https://github.com/flathub/org.signal.Signal/pull/756/commits/2caf105b18f906e7707f67b3cf7384a21f461564
45-
- name: libsecret
46-
buildsystem: meson
47-
config-opts:
48-
- -Dmanpage=false
49-
- -Dcrypto=disabled
50-
- -Dvapi=false
51-
- -Dgtk_doc=false
52-
- -Dintrospection=false
53-
- -Dbash_completion=disabled
54-
cleanup:
55-
- /bin
56-
- /include
57-
- /lib/pkgconfig
58-
- /share/man
59-
sources:
60-
- type: archive
61-
url: https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz
62-
sha256: 6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e
63-
x-checker-data:
64-
type: gnome
65-
name: libsecret
66-
stable-only: true
67-
6844
- name: vscode
6945
buildsystem: simple
7046
build-commands:
@@ -120,9 +96,9 @@ modules:
12096
- type: extra-data
12197
filename: code.deb
12298
only-arches: [x86_64]
123-
url: https://update.code.visualstudio.com/1.106.3/linux-deb-x64/stable
124-
sha256: f26c3a808fb2d34107b353b2ce73fd0acee012f90ffe598deff50789739152cc
125-
size: 113519914
99+
url: https://update.code.visualstudio.com/1.107.0/linux-deb-x64/stable
100+
sha256: 88a9198b18c6df0b807c716861af7cbb403bc9bc4dd5617803b01dc03efd785b
101+
size: 114395550
126102
x-checker-data:
127103
type: json
128104
url: https://api.github.com/repos/microsoft/vscode/releases/latest
@@ -134,9 +110,9 @@ modules:
134110
- type: extra-data
135111
filename: code.deb
136112
only-arches: [aarch64]
137-
url: https://update.code.visualstudio.com/1.106.3/linux-deb-arm64/stable
138-
sha256: cfc6584816e321360e544f11d0295e93916519a5b91dff60454203215af4a7ab
139-
size: 104791286
113+
url: https://update.code.visualstudio.com/1.107.0/linux-deb-arm64/stable
114+
sha256: 18759cd554dbd4311e6c60e3a85085eb9a8e4b8a58612be5b1556e033bc7ea7a
115+
size: 104836282
140116
x-checker-data:
141117
type: json
142118
url: https://api.github.com/repos/microsoft/vscode/releases/latest

0 commit comments

Comments
 (0)