🎨 操作系统平台版本信息

This commit is contained in:
Liang Ding
2023-03-25 17:23:22 +08:00
parent 5caf532fd6
commit 7b87dcf0f6
4 changed files with 7 additions and 11 deletions

View File

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