refactor: improve mmkv logic

This commit is contained in:
鲁树人 committed 2025-09-06 23:44:07 +09:00
1 parent 92ad51402e
commit 9b0455b0fd
10 files changed
+216 -160

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ type Decoder struct {
}
func NewDecoder(p *common.DecoderParams) common.Decoder {
return &Decoder{rd: p.Reader, KggDatabasePath: p.KggDatabasePath}
return &Decoder{rd: p.Reader, KggDatabasePath: p.CryptoParams.KggDbPath}
}
// Validate checks if the file is a valid Kugou (.kgm, .vpr, .kgma) file.