OI/app-editors/vscode/files/vscode-desktop.patch

30 lines
914 B
Diff
Raw Permalink Normal View History

2019-04-28 00:50:19 +02:00
diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop
index dbc7818cec..fc2044fa18 100644
--- a/resources/linux/code.desktop
+++ b/resources/linux/code.desktop
@@ -1,12 +1,12 @@
[Desktop Entry]
-Name=@@NAME_LONG@@
+Name=VSCode
Comment=Code Editing. Redefined.
GenericName=Text Editor
-Exec=/usr/share/@@NAME@@/@@NAME@@ --unity-launch %F
-Icon=@@ICON@@
2019-04-28 01:49:15 +02:00
+Exec=/usr/bin/vscode --unity-launch %F
2019-04-28 00:50:19 +02:00
+Icon=/usr/share/vscode/resources/linux/code.png
Type=Application
StartupNotify=false
-StartupWMClass=@@NAME_SHORT@@
+StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Actions=new-empty-window;
@@ -14,5 +14,5 @@ Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
-Exec=/usr/share/@@NAME@@/@@NAME@@ --new-window %F
-Icon=@@ICON@@
2019-04-28 01:49:15 +02:00
+Exec=/usr/bin/vscode --new-window %F
2019-04-28 00:50:19 +02:00
+Icon=/usr/share/vscode/resources/linux/code.png