Forgot to push files

This commit is contained in:
TheDevKiller 2019-04-28 00:50:19 +02:00
parent 34e9493077
commit 6f2c9cda78
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/share/vscode/scripts/code-cli.sh

View File

@ -0,0 +1,29 @@
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@@
+Exec=/usr/share/vscode/ --unity-launch %F
+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@@
+Exec=/usr/share/code/code --new-window %F
+Icon=/usr/share/vscode/resources/linux/code.png

View File

@ -0,0 +1,30 @@
diff --git a/product.json b/product.json
index 4103352af8..3d48bbee02 100644
--- a/product.json
+++ b/product.json
@@ -22,5 +22,10 @@
"urlProtocol": "code-oss",
"extensionAllowedProposedApi": [
"ms-vscode.references-view"
- ]
-}
\ No newline at end of file
+ ],
+ "extensionsGallery": {
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
+ "itemUrl": "https://marketplace.visualstudio.com/items"
+ }
+}
diff --git a/product.json b/product.json
index b250c66fc4..8a9befcfbb 100644
--- a/product.json
+++ b/product.json
@@ -19,6 +19,7 @@
"reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new",
"urlProtocol": "code-oss",
"extensionAllowedProposedApi": [
+ "ms-vsliveshare.vsliveshare",
"ms-vscode.references-view"
],
"quality": "stable",