🎨 记录操作系统平台

This commit is contained in:
Liang Ding 2023-02-10 21:39:24 +08:00
parent d316e4abc3
commit 235d940cad
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 72 additions and 5 deletions

View file

@ -236,6 +236,7 @@ func InitConf() {
logging.LogInfof("using Microsoft Store edition")
}
Conf.System.OS = runtime.GOOS
Conf.System.OSPlatform = util.GetOSPlatform()
Conf.Newbie = util.IsNewbie
if "" != Conf.UserData {