1
0
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:
Mrs4s 2020-11-14 19:04:37 +08:00
parent 231b2d89db
commit 3d349df736

View File

@ -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
}