mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-07 08:27:13 +08:00
adjust ui text
This commit is contained in:
@@ -41,7 +41,7 @@ function runWithDaemon () {
|
|||||||
process.exit(exitCode)
|
process.exit(exitCode)
|
||||||
return
|
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)
|
await sleep(rerunInterval)
|
||||||
runWithDaemon()
|
runWithDaemon()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ const main = async () => {
|
|||||||
}
|
}
|
||||||
closeBrowserWindow?.()
|
closeBrowserWindow?.()
|
||||||
console.error(err)
|
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)
|
await sleep(rerunInterval)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ function runWithDaemon() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log(
|
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)
|
await sleep(rerunInterval)
|
||||||
runWithDaemon()
|
runWithDaemon()
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ export const runAutoChat = async () => {
|
|||||||
closeBrowserWindow?.()
|
closeBrowserWindow?.()
|
||||||
console.error(err)
|
console.error(err)
|
||||||
console.log(
|
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)
|
await sleep(rerunInterval)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user