Add files directory with patch
This commit is contained in:
parent
5cf34a913c
commit
35b77600c0
@ -1,47 +0,0 @@
|
|||||||
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/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=Code - Git
|
|
||||||
Comment=Code Editing. Redefined.
|
|
||||||
GenericName=Text Editor
|
|
||||||
-Exec=/usr/share/@@NAME@@/@@NAME@@ --unity-launch %F
|
|
||||||
-Icon=@@ICON@@
|
|
||||||
+Exec=/usr/share/code/code --unity-launch %F
|
|
||||||
+Icon=/usr/share/code/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/resources/linux/code.png
|
|
@ -18,7 +18,7 @@ RDEPEND="${DEPEND}"
|
|||||||
BDEPEND=">=sys-apps/yarn-1.15.2"
|
BDEPEND=">=sys-apps/yarn-1.15.2"
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"gentoo-vscode.patch"
|
"files/gentoo-vscode.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
Loading…
Reference in New Issue
Block a user