mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
make the auto updater work on windows (#514)
This commit is contained in:
parent
990c138cf3
commit
988f32e373
1 changed files with 6 additions and 1 deletions
|
|
@ -3,7 +3,12 @@ const { version } = require('./package');
|
|||
const notify = require('./notify'); // eslint-disable-line no-unused-vars
|
||||
const ms = require('ms');
|
||||
|
||||
const FEED_URL = 'https://hyperterm-updates.now.sh/update/osx';
|
||||
// accepted values: `osx`, `win32`
|
||||
// https://nuts.gitbook.com/update-windows.html
|
||||
const platform = 'darwin' === process.platform
|
||||
? 'osx'
|
||||
: process.platform;
|
||||
const FEED_URL = `https://hyperterm-updates.now.sh/update/${platform}`;
|
||||
let isInit = false;
|
||||
|
||||
function init () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue