🎨 记录操作系统平台

This commit is contained in:
Liang Ding 2023-02-10 21:45:21 +08:00
parent 2a4fc32e50
commit 08641595ae
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 14 additions and 9 deletions

View file

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