mirror of
https://git.um-react.app/um/cli.git
synced 2026-11-28 08:06:59 +00:00
refactor: improve mmkv logic
This commit is contained in:
1 parent
92ad51402e
commit
9b0455b0fd
10 files changed
+216
-160
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user