fix: snap packaging for argument parsing (#214560)

pull/214586/head
Robo 2024-06-07 16:45:12 +09:00 committed by GitHub
parent 6e6d38007e
commit 6facfe23b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -261,4 +261,4 @@ fi
wait_for_async_execs
exec "$@"
exec "$@" "--no-sandbox" "--use-gl=angle" "--use-angle=swiftshader"

View File

@ -74,8 +74,8 @@ parts:
apps:
@@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
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