mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
electron-main: Check for seshat existence instead of erroring out.
This commit is contained in:
parent
449eca6fb4
commit
437c59f087
@ -39,8 +39,15 @@ const { migrateFromOldOrigin } = require('./originMigrator');
|
||||
|
||||
const windowStateKeeper = require('electron-window-state');
|
||||
const Store = require('electron-store');
|
||||
const Seshat = require('seshat-node');
|
||||
const makeDir = require('make-dir');
|
||||
|
||||
let Seshat = null;
|
||||
let makeDir = null;
|
||||
|
||||
try {
|
||||
Seshat = require('seshat-node');
|
||||
makeDir = require('make-dir');
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
if (argv["help"]) {
|
||||
console.log("Options:");
|
||||
|
Loading…
Reference in New Issue
Block a user