From d70073d9e1e9011d12db0da2e76f469626018601 Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Mon, 18 Mar 2024 09:50:40 +0800 Subject: [PATCH] adjust ui text --- .../run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs | 2 +- packages/run-core-of-geek-auto-start-chat-with-boss/main.mjs | 2 +- .../main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_DAEMON/index.ts | 2 +- .../src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_MAIN/index.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs b/packages/run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs index 1d71b57..d2b2293 100644 --- a/packages/run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs +++ b/packages/run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs @@ -41,7 +41,7 @@ function runWithDaemon () { process.exit(exitCode) return } - console.log(`[Run core daemon] Child process exit with code ${exitCode}, an internal may not be caught, and will be restarted in ${rerunInterval}ms.`) + console.log(`[Run core daemon] Child process exit with code ${exitCode}, an internal error may not be caught, and will be restarted in ${rerunInterval}ms.`) await sleep(rerunInterval) runWithDaemon() } diff --git a/packages/run-core-of-geek-auto-start-chat-with-boss/main.mjs b/packages/run-core-of-geek-auto-start-chat-with-boss/main.mjs index 5462d07..5ff4726 100644 --- a/packages/run-core-of-geek-auto-start-chat-with-boss/main.mjs +++ b/packages/run-core-of-geek-auto-start-chat-with-boss/main.mjs @@ -77,7 +77,7 @@ const main = async () => { } closeBrowserWindow?.() console.error(err) - console.log(`[Run core main] An internal is caught, and browser will be restarted in ${rerunInterval}ms.`) + console.log(`[Run core main] An internal error is caught, and browser will be restarted in ${rerunInterval}ms.`) await sleep(rerunInterval) } } diff --git a/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_DAEMON/index.ts b/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_DAEMON/index.ts index 4d4feab..0a015b3 100644 --- a/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_DAEMON/index.ts +++ b/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_DAEMON/index.ts @@ -33,7 +33,7 @@ function runWithDaemon() { return } console.log( - `[Run core daemon] Child process exit with code ${exitCode}, an internal may not be caught, and will be restarted in ${rerunInterval}ms.` + `[Run core daemon] Child process exit with code ${exitCode}, an internal error may not be caught, and will be restarted in ${rerunInterval}ms.` ) await sleep(rerunInterval) runWithDaemon() diff --git a/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_MAIN/index.ts b/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_MAIN/index.ts index ad2e977..42cbdbc 100644 --- a/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_MAIN/index.ts +++ b/packages/ui/src/main/flow/GEEK_AUTO_START_CHAT_WITH_BOSS_MAIN/index.ts @@ -124,7 +124,7 @@ export const runAutoChat = async () => { closeBrowserWindow?.() console.error(err) console.log( - `[Run core main] An internal is caught, and browser will be restarted in ${rerunInterval}ms.` + `[Run core main] An internal error is caught, and browser will be restarted in ${rerunInterval}ms.` ) await sleep(rerunInterval) }