snapcaft.yaml: Set the AppStream ID in the Snap metadata

This allows software store to recognise this snap matches Visual Studio Code in
other formats (.deb, .rpm, Flatpak etc). It also means reviews on ODRS are
grouped together.
This commit is contained in:
Robert Ancell 2019-07-02 10:18:50 +12:00
parent be5be44689
commit 05ceb5e8ac

View file

@ -51,6 +51,7 @@ apps:
@@NAME@@:
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@
desktop: usr/share/applications/@@NAME@@.desktop
common-id: @@NAME@@.desktop
environment:
DISABLE_WAYLAND: 1
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas