chore: update go-mmkv dependency to v0.1.6 and refactor QMC key merging logic

This commit is contained in:
鲁树人
2026-10-19 23:18:50 +09:00
parent 8864b11d4a
commit 89cd9d13c3
5 changed files with 14 additions and 25 deletions
+1 -2
View File
@@ -24,7 +24,6 @@ import (
_ "git.um-react.app/um/cli/algo/xiami"
_ "git.um-react.app/um/cli/algo/ximalaya"
"git.um-react.app/um/cli/internal/ffmpeg"
"git.um-react.app/um/cli/internal/mmkv"
"git.um-react.app/um/cli/internal/sniff"
"git.um-react.app/um/cli/internal/utils"
"github.com/fsnotify/fsnotify"
@@ -194,7 +193,7 @@ func appMain(c *cli.Context) (err error) {
qmcAndroidKeysPath = "player_process_db"
}
}
qmcKeys = mmkv.Merge(
qmcKeys = common.MergeQMCKeys(
qmcKeys,
qmc.LoadUserMMKV(c.String("qmc-mmkv"), c.String("qmc-mmkv-key"), logger),
qmc.LoadAndroidDB(qmcAndroidKeysPath, logger),