mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18: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 {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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue