mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-08 04:55:56 +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
|
info.Protocol = AndroidPhone
|
||||||
case 2:
|
case 2:
|
||||||
info.Protocol = AndroidWatch
|
info.Protocol = AndroidWatch
|
||||||
|
case 3:
|
||||||
|
info.Protocol = MacOS
|
||||||
default:
|
default:
|
||||||
info.Protocol = IPad
|
info.Protocol = IPad
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user