mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
fix: snap packaging for argument parsing (#214560)
This commit is contained in:
@@ -261,4 +261,4 @@ fi
|
|||||||
|
|
||||||
wait_for_async_execs
|
wait_for_async_execs
|
||||||
|
|
||||||
exec "$@"
|
exec "$@" "--no-sandbox" "--use-gl=angle" "--use-angle=swiftshader"
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ parts:
|
|||||||
|
|
||||||
apps:
|
apps:
|
||||||
@@NAME@@:
|
@@NAME@@:
|
||||||
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --no-sandbox --use-gl=angle --use-angle=swiftshader
|
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@
|
||||||
common-id: @@NAME@@.desktop
|
common-id: @@NAME@@.desktop
|
||||||
|
|
||||||
url-handler:
|
url-handler:
|
||||||
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url --no-sandbox --use-gl=angle --use-angle=swiftshader
|
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url
|
||||||
|
|||||||
Reference in New Issue
Block a user