New URL for update server (#2047)

This commit is contained in:
Leo Lamprecht 2017-08-04 23:52:38 +02:00 committed by GitHub
parent 4fd115bf27
commit 866b5b82ce

View file

@ -4,12 +4,9 @@ const ms = require('ms');
const notify = require('./notify'); // eslint-disable-line no-unused-vars
const {version} = require('./package');
// accepted values: `osx`, `win32`
// https://nuts.gitbook.com/update-windows.html
const platform = process.platform === 'darwin' ?
'osx' :
process.platform;
const FEED_URL = `https://hyper-updates.now.sh/update/${platform}`;
const {platform} = process;
const FEED_URL = `https://releases.hyper.is/update/${platform}`;
let isInit = false;
function init() {