mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-22 10:46:11 +00:00
* snap: add assets verbatim
Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.
Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
* escape
* fix snapcraft.yml
* use @@EXEC@@ in desktop files
* fix bad path
* fix snap desktop file
19 lines
433 B
Desktop File
19 lines
433 B
Desktop File
[Desktop Entry]
|
|
Name=@@NAME_LONG@@
|
|
Comment=Code Editing. Redefined.
|
|
GenericName=Text Editor
|
|
Exec=@@EXEC@@ --unity-launch %F
|
|
Icon=@@ICON@@
|
|
Type=Application
|
|
StartupNotify=false
|
|
StartupWMClass=@@NAME_SHORT@@
|
|
Categories=Utility;TextEditor;Development;IDE;
|
|
MimeType=text/plain;inode/directory;
|
|
Actions=new-empty-window;
|
|
Keywords=vscode;
|
|
|
|
[Desktop Action new-empty-window]
|
|
Name=New Empty Window
|
|
Exec=@@EXEC@@ --new-window %F
|
|
Icon=@@ICON@@
|