mirror of
https://github.com/Microsoft/vscode
synced 2024-10-29 21:37:13 +00:00
snapcraft.yaml: Add the url-handler
This commit is contained in:
parent
7f9406d777
commit
24e592c52c
1 changed files with 7 additions and 0 deletions
|
@ -51,6 +51,13 @@ apps:
|
|||
@@NAME@@:
|
||||
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@
|
||||
desktop: usr/share/applications/@@NAME@@.desktop
|
||||
environment:
|
||||
DISABLE_WAYLAND: 1
|
||||
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
|
||||
|
||||
url-handler:
|
||||
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url
|
||||
desktop: usr/share/applications/@@NAME@@-url-handler.desktop
|
||||
environment:
|
||||
DISABLE_WAYLAND: 1
|
||||
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
|
Loading…
Reference in a new issue