mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/vscode: Updated for version 1.10.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6802e834a1
commit
504a54e8fb
4 changed files with 28 additions and 22 deletions
23
development/vscode/vscode-1.10.2.patch
Normal file
23
development/vscode/vscode-1.10.2.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
diff -ur vscode-1.10.2.old/product.json vscode-1.10.2/product.json
|
||||
--- vscode-1.10.2.old/product.json 2017-03-08 07:34:22.000000000 -0300
|
||||
+++ vscode-1.10.2/product.json 2017-03-20 08:13:51.308984108 -0300
|
||||
@@ -14,5 +14,16 @@
|
||||
"win32ShellNameShort": "C&ode - OSS",
|
||||
"darwinBundleIdentifier": "com.visualstudio.code.oss",
|
||||
"reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new",
|
||||
- "urlProtocol": "code-oss"
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+ "urlProtocol": "code-oss",
|
||||
+ "extensionsGallery": {
|
||||
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
|
||||
+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
|
||||
+ "itemUrl": "https://marketplace.visualstudio.com/items"
|
||||
+ },
|
||||
+ "welcomePage": "http://go.microsoft.com/fwlink/?LinkId=723048",
|
||||
+ "documentationUrl": "http://go.microsoft.com/fwlink/?LinkID=533484#vscode",
|
||||
+ "releaseNotesUrl": "http://go.microsoft.com/fwlink/?LinkID=533483#vscode",
|
||||
+ "twitterUrl": "http://go.microsoft.com/fwlink/?LinkID=533687",
|
||||
+ "requestFeatureUrl": "http://go.microsoft.com/fwlink/?LinkID=533482",
|
||||
+ "privacyStatementUrl": "http://go.microsoft.com/fwlink/?LinkID=528096&clcid=0x409"
|
||||
+}
|
|
@ -1,17 +0,0 @@
|
|||
diff -ur vscode-1.9.1.old/product.json vscode-1.9.1/product.json
|
||||
--- vscode-1.9.1.old/product.json 2017-02-08 21:18:43.000000000 -0200
|
||||
+++ vscode-1.9.1/product.json 2017-02-14 19:23:55.023044320 -0200
|
||||
@@ -13,5 +13,10 @@
|
||||
"win32AppUserModelId": "Microsoft.CodeOSS",
|
||||
"darwinBundleIdentifier": "com.visualstudio.code.oss",
|
||||
"reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new",
|
||||
- "urlProtocol": "code-oss"
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+ "urlProtocol": "code-oss",
|
||||
+ "extensionsGallery": {
|
||||
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
|
||||
+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
|
||||
+ "itemUrl": "https://marketplace.visualstudio.com/items"
|
||||
+ }
|
||||
+}
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=vscode
|
||||
VERSION=${VERSION:-1.9.1}
|
||||
VERSION=${VERSION:-1.10.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -64,7 +64,7 @@ find -L . \
|
|||
|
||||
patch -p1 < $CWD/vscode-$VERSION.patch
|
||||
./scripts/npm.sh install --arch=$BUILDARCH --unsafe-perm
|
||||
./node_modules/.bin/gulp vscode-linux-${BUILDARCH}-min
|
||||
node --max_old_space_size=2048 ./node_modules/.bin/gulp vscode-linux-${BUILDARCH}-min
|
||||
|
||||
cd $TMP/VSCode-linux-$BUILDARCH
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="vscode"
|
||||
VERSION="1.9.1"
|
||||
VERSION="1.10.2"
|
||||
HOMEPAGE="https://code.visualstudio.com/"
|
||||
DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.9.1/vscode-1.9.1.tar.gz"
|
||||
MD5SUM="5542d60e05a356584483d02d1e4a4819"
|
||||
DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.10.2/vscode-1.10.2.tar.gz"
|
||||
MD5SUM="c983af3be5f57fedbfdf01bf4c1ab0c6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="nodejs"
|
||||
|
|
Loading…
Reference in a new issue