mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
e6a2476f97
@ -460,6 +460,8 @@ exports.initEnv = function initEnv() {
|
||||
process.env.SOCKET_PATH = generateGatewayPath();
|
||||
fs.mkdirpSync(dirname(process.env.SOCKET_PATH), { force: true, recursive: true });
|
||||
fs.mkdirpSync(process.env.PM2_HOME, { force: true, recursive: true });
|
||||
const pkgDir = resolve(process.cwd(), 'storage/plugins', '@nocobase/plugin-multi-app-manager');
|
||||
fs.existsSync(pkgDir) && fs.rmdirSync(pkgDir, { force: true });
|
||||
};
|
||||
|
||||
exports.generatePlugins = function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user