fix: fix错误

This commit is contained in:
2025-02-26 01:59:46 +08:00
parent 69721f3944
commit 3477d098b7
14 changed files with 71 additions and 75 deletions

View File

@@ -5,7 +5,7 @@ const config = useConfig<{
}>();
export const selfRestart = async () => {
const appName = config.appName || 'codeflow';
const appName = config.appName || 'codecenter';
// 检测 pm2 是否安装和是否有 appName 这个应用
try {
const res = childProcess.execSync(`pm2 list`);