Skip to content

Commit

Permalink
use github as primary host. Applies to #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ktrzeciaknubisa committed Apr 12, 2016
1 parent 1eb11c6 commit aacabe5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.15

* use https://github.com/jxcore/jxcore-cordova-release as primary binary host

# 1.0.14

* support for `--use-url` to download from a custom location
Expand Down
4 changes: 3 additions & 1 deletion lib/commands/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ var download = function(version, cb) {
}

// downloading if cache file is not used
var url = 'http://az836273.vo.msecnd.net/' + version + '/' + fname;
//the below url has become obsolete
//var url = 'http://az836273.vo.msecnd.net/' + version + '/' + fname;
var url = 'https://raw.githubusercontent.com/jxcore/jxcore-cordova-release/master/' + version + '/' + fname;
if (parsedArgv['use-url']) {
url = parsedArgv['use-url'].value;
} else if (parsedArgv['use-mirror']) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jxc",
"version": "1.0.14",
"version": "1.0.15",
"description": "JXcore-cordova plugin helper",
"main": "index.js",
"scripts": {},
Expand Down

0 comments on commit aacabe5

Please sign in to comment.