mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38: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 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;
|
||||
// Default to the "stable" update channel
|
||||
|
|
|
|||
Loading…
Reference in a new issue