mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
Fix autoUpdater error on Linux
This commit is contained in:
parent
afc8a3f794
commit
51625eb50c
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import {getDecoratedConfig} from './plugins';
|
||||||
const {platform} = process;
|
const {platform} = process;
|
||||||
const isLinux = platform === 'linux';
|
const isLinux = platform === 'linux';
|
||||||
|
|
||||||
const autoUpdater = isLinux ? require('./auto-updater-linux') : electron.autoUpdater;
|
const autoUpdater = isLinux ? require('./auto-updater-linux').default : electron.autoUpdater;
|
||||||
|
|
||||||
let isInit = false;
|
let isInit = false;
|
||||||
// Default to the "stable" update channel
|
// Default to the "stable" update channel
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue