fixed npm dist subprocess problem

This commit is contained in:
Jan Prochazka
2022-03-24 09:00:51 +01:00
parent a3bc1e577a
commit 4c411b048d
7 changed files with 18 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ function packagedPluginsDir() {
}
if (platformInfo.isNpmDist) {
// node_modules
return global['dbgateApiPackagedPluginsPath'];
return global['PLUGINS_DIR'];
}
if (platformInfo.isElectronBundle) {
return path.resolve(__dirname, '../../plugins');