feat: tranfer log to storage

This commit is contained in:
Jason Song
2022-10-19 15:49:23 +08:00
parent d2f8d5ded1
commit 8dbe30dff9
8 changed files with 129 additions and 46 deletions

View File

@ -1062,6 +1062,8 @@ func loadFromConf(allowEmpty bool, extraConfig string) {
newPackages()
newBuilds()
if err = Cfg.Section("ui").MapTo(&UI); err != nil {
log.Fatal("Failed to map UI settings: %v", err)
} else if err = Cfg.Section("markdown").MapTo(&Markdown); err != nil {