mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
client: default use android pad protocol
This commit is contained in:
parent
1ec3bbf188
commit
fd37850f8c
@ -59,7 +59,7 @@ func GenRandomDevice() *DeviceInfo {
|
|||||||
APN: []byte("wifi"),
|
APN: []byte("wifi"),
|
||||||
VendorName: []byte("MIUI"),
|
VendorName: []byte("MIUI"),
|
||||||
VendorOSName: []byte("mirai"),
|
VendorOSName: []byte("mirai"),
|
||||||
Protocol: IPad,
|
Protocol: AndroidPad,
|
||||||
Version: &Version{
|
Version: &Version{
|
||||||
Incremental: []byte("5891938"),
|
Incremental: []byte("5891938"),
|
||||||
Release: []byte("10"),
|
Release: []byte("10"),
|
||||||
|
@ -137,7 +137,7 @@ func (info *Device) ReadJson(d []byte) error {
|
|||||||
case 1, 2, 3, 4, 5, 6:
|
case 1, 2, 3, 4, 5, 6:
|
||||||
info.Protocol = Protocol(f.Protocol)
|
info.Protocol = Protocol(f.Protocol)
|
||||||
default:
|
default:
|
||||||
info.Protocol = IPad
|
info.Protocol = AndroidPad
|
||||||
}
|
}
|
||||||
|
|
||||||
v := new(OSVersion)
|
v := new(OSVersion)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user