chore: 移除 daemon 模式

This commit is contained in:
Mmx233
2023-06-01 18:26:09 +08:00
parent 874eeddf96
commit 6c60a52d4e
10 changed files with 7 additions and 133 deletions

View File

@@ -10,12 +10,9 @@ import (
)
func main() {
if global.Flags.RunningDaemon {
//后台挂起模式
if global.Config.Settings.Guardian.Enable {
//进入守护模式
controllers.Guardian()
} else if global.Config.Settings.Guardian.Enable {
//进入守护模式流程
controllers.EnterGuardian()
} else {
//登录流程
var err error