feat(thunder&thunder_browser): fix deviceId generation & support offline download and update login interface (#290)

* fix(thunder): fix deviceID generation

* feat(thunder_browser): support offline download and update login interface

* feat(thunder_browser): add fluent_play method for offline download
This commit is contained in:
Dgs
2025-06-24 21:54:30 +08:00
committed by GitHub
parent ffc14ea14c
commit d695d28e13
13 changed files with 768 additions and 45 deletions

View File

@ -58,7 +58,7 @@ func (x *Thunder) Init(ctx context.Context) (err error) {
},
DeviceID: func() string {
if len(x.DeviceID) != 32 {
return utils.GetMD5EncodeStr(x.DeviceID)
return utils.GetMD5EncodeStr(x.Username + x.Password)
}
return x.DeviceID
}(),