fix:增加config属性
1、能自定义是否在启动前检查网络 2、增加demo模式
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package Util
|
||||
|
||||
import (
|
||||
"Mmx/Global"
|
||||
"Mmx/Modles"
|
||||
"fmt"
|
||||
"os"
|
||||
@@ -55,6 +56,8 @@ func (a *config) Init() *Modles.LoginInfo {
|
||||
os.Exit(3)
|
||||
}
|
||||
|
||||
Global.Config = &c
|
||||
|
||||
return a.Generate(
|
||||
&c.From,
|
||||
&c.Meta,
|
||||
|
||||
Reference in New Issue
Block a user