mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
New URL for update server (#2047)
This commit is contained in:
parent
4fd115bf27
commit
866b5b82ce
1 changed files with 3 additions and 6 deletions
|
|
@ -4,12 +4,9 @@ const ms = require('ms');
|
||||||
const notify = require('./notify'); // eslint-disable-line no-unused-vars
|
const notify = require('./notify'); // eslint-disable-line no-unused-vars
|
||||||
const {version} = require('./package');
|
const {version} = require('./package');
|
||||||
|
|
||||||
// accepted values: `osx`, `win32`
|
const {platform} = process;
|
||||||
// https://nuts.gitbook.com/update-windows.html
|
const FEED_URL = `https://releases.hyper.is/update/${platform}`;
|
||||||
const platform = process.platform === 'darwin' ?
|
|
||||||
'osx' :
|
|
||||||
process.platform;
|
|
||||||
const FEED_URL = `https://hyper-updates.now.sh/update/${platform}`;
|
|
||||||
let isInit = false;
|
let isInit = false;
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue