Fix error Cannot find module ‘core/dist/package.json’
This commit is contained in:
parent
436f3d3c36
commit
aecfa814f9
|
@ -50,7 +50,6 @@ import keytar from 'keytar';
|
||||||
|
|
||||||
import { FileUtils, BDIpc, Config, WindowUtils, Updater, Editor, Database } from './modules';
|
import { FileUtils, BDIpc, Config, WindowUtils, Updater, Editor, Database } from './modules';
|
||||||
|
|
||||||
const packageJson = require(path.resolve(__dirname, 'package.json'));
|
|
||||||
const sparkplug = path.resolve(__dirname, 'sparkplug.js');
|
const sparkplug = path.resolve(__dirname, 'sparkplug.js');
|
||||||
|
|
||||||
let configProxy;
|
let configProxy;
|
||||||
|
|
Loading…
Reference in New Issue