fix: snap packaging for argument parsing (#214560)
parent
6e6d38007e
commit
6facfe23b3
|
@ -261,4 +261,4 @@ fi
|
|||
|
||||
wait_for_async_execs
|
||||
|
||||
exec "$@"
|
||||
exec "$@" "--no-sandbox" "--use-gl=angle" "--use-angle=swiftshader"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue