move runMode from env to args. remove support of cli mode.

This commit is contained in:
geekgeekrun
2025-05-24 14:09:57 +08:00
parent 02667fe2f8
commit 217b2bbf2a
7 changed files with 36 additions and 45 deletions
@@ -46,7 +46,6 @@ industryFilterExemption.forEach(item => {
ensureConfigFileExist()
ensureStorageFileExist()
const isRunFromUi = Boolean(process.env.MAIN_BOSSGEEKGO_UI_RUN_MODE)
const isUiDev = process.env.NODE_ENV === 'development'
export const autoStartChatEventBus = new EventEmitter()