Remove installer scripts, correct sparkplug external
This commit is contained in:
parent
2c23f18e89
commit
9c1a93f4c1
|
@ -39,7 +39,7 @@ module.exports = {
|
|||
process: 'require("process")',
|
||||
net: 'require("net")',
|
||||
request: 'require(require("path").join(require("electron").remote.app.getAppPath(), "node_modules", "request"))',
|
||||
sparkplug: 'require("../../core/dist/sparkplug")',
|
||||
sparkplug: 'require("../core/sparkplug")',
|
||||
'node-crypto': 'require("crypto")'
|
||||
},
|
||||
resolve: {
|
||||
|
|
|
@ -46,7 +46,7 @@ class Comms {
|
|||
|
||||
BDIpc.on('bd-sendToDiscord', (event, m) => this.sendToDiscord(m.channel, m.message), true);
|
||||
|
||||
BDIpc.on('bd-openCssEditor', (event, options) => this.bd.csseditor.openEditor(options), true);
|
||||
// BDIpc.on('bd-openCssEditor', (event, options) => this.bd.csseditor.openEditor(options), true);
|
||||
BDIpc.on('bd-sendToCssEditor', (event, m) => this.sendToCssEditor(m.channel, m.message), true);
|
||||
|
||||
BDIpc.on('bd-native-open', (event, options) => {
|
||||
|
@ -67,7 +67,7 @@ class Comms {
|
|||
});
|
||||
});
|
||||
|
||||
BDIpc.on('bd-dba', (event, options) => this.bd.dbInstance.exec(options), true);
|
||||
BDIpc.on('bd-dba', (event, options) => this.bd.database.exec(options), true);
|
||||
|
||||
BDIpc.on('bd-keytar-get', (event, { service, account }) => keytar.getPassword(service, account), true);
|
||||
BDIpc.on('bd-keytar-set', (event, { service, account, password }) => keytar.setPassword(service, account, password), true);
|
||||
|
|
|
@ -79,8 +79,6 @@
|
|||
"watch_core": "npm run watch --prefix core",
|
||||
"build_csseditor": "npm run build --prefix csseditor",
|
||||
"watch_csseditor": "npm run watch --prefix csseditor",
|
||||
"build_installer": "npm run build --prefix installer",
|
||||
"watch_installer": "npm run watch --prefix installer",
|
||||
"lint": "eslint -f unix client/src core/src csseditor/src common && npm run sasslint",
|
||||
"lint_fix": "eslint -f unix client/src core/src csseditor/src common --fix",
|
||||
"sasslint": "sass-lint client/src/styles/**/*.scss -v",
|
||||
|
|
Loading…
Reference in New Issue