mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-07 12:43:32 +08:00
fix device reader.
This commit is contained in:
parent
231b2d89db
commit
3d349df736
@ -250,6 +250,8 @@ func (info *DeviceInfo) ReadJson(d []byte) error {
|
||||
info.Protocol = AndroidPhone
|
||||
case 2:
|
||||
info.Protocol = AndroidWatch
|
||||
case 3:
|
||||
info.Protocol = MacOS
|
||||
default:
|
||||
info.Protocol = IPad
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user