From 3d349df7362e783a7e7edaa73737c232729374bb Mon Sep 17 00:00:00 2001 From: Mrs4s <1844812067@qq.com> Date: Sat, 14 Nov 2020 19:04:37 +0800 Subject: [PATCH] fix device reader. --- client/global.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/global.go b/client/global.go index c0157988..9e60e055 100644 --- a/client/global.go +++ b/client/global.go @@ -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 }