support multi key pattern matching (#25)

This commit is contained in:
Sarv
2025-04-10 14:53:17 +08:00
committed by GitHub
parent b64902ecb6
commit 4983d27054
8 changed files with 152 additions and 81 deletions

View File

@@ -90,7 +90,7 @@ func (a *Account) GetKey(ctx context.Context) (string, error) {
return "", err
}
validator, err := decrypt.NewValidator(process.DataDir, process.Platform, process.Version)
validator, err := decrypt.NewValidator(process.Platform, process.Version, process.DataDir)
if err != nil {
return "", err
}