feat: add loginType and deploy load sever

This commit is contained in:
2025-02-16 03:10:50 +08:00
parent b631ff4a09
commit 169827b211
4 changed files with 41 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ const mainApp = new Command('main')
if (options.init) {
await initMain();
return;
} else {
} else if (!options.start && !options.restart && !options.exit && !options.pm2) {
console.warn(chalk.yellow('请使用 --init 初始化 main 应用'));
}
const runChild = () => {