add init log

This commit is contained in:
wwqgtxx 2024-10-05 10:09:56 +08:00
parent 8f8c7724ba
commit aea7edd2f8

View File

@ -17,6 +17,7 @@ import (
var errBlocked = errors.New("blocked")
func Init(home, versionName string, platformVersion int) {
log.Infoln("Init core, home: %s, versionName: %s, platformVersion: %d", home, versionName, platformVersion)
constant.SetHomeDir(home)
app.ApplyVersionName(versionName)
app.ApplyPlatformVersion(platformVersion)