Skip to content

Commit

Permalink
add ipad models
Browse files Browse the repository at this point in the history
fix IOS 14.5 image _alias wrong
  • Loading branch information
pengchenglin committed Mar 11, 2021
1 parent bde10fe commit a2916e7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tidevice/_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def _request_developer_image_dir(self):
"14.2": "14.2(FromXcode_12.3_beta_xip).zip",
"14.3": "14.3(FromXcode_12.3_beta_xip).zip",
"14.4": "14.4(FromXcode_12.4(12D4e)).zip",
"14.5": "14.4(FromXcode_12.5_beta_xip).zip",
"14.5": "14.5(FromXcode_12.5_beta_3_xip).zip",
}
zip_name = _alias.get(version, f"{version}.zip")
origin_url = f"https://github.com/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/{zip_name}"
Expand Down
20 changes: 20 additions & 0 deletions tidevice/_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,26 @@ class AFCStatus(enum.IntEnum):
"iPad2,6": "iPad mini",
"iPad2,7": "iPad mini",

"iPad1,1": "iPad 1",
"iPad2,1": "iPad (2rd generation)",
"iPad2,2": "iPad (2rd generation)",
"iPad2,3": "iPad (2rd generation)",
"iPad2,4": "iPad (2rd generation)",
"iPad3,1": "iPad (3rd generation)",
"iPad3,2": "iPad (3rd generation)",
"iPad3,3": "iPad (3rd generation)",
"iPad3,4": "iPad (4rd generation)",
"iPad3,5": "iPad (4rd generation)",
"iPad3,6": "iPad (4rd generation)",
"iPad6,11": "iPad (5th generation)",
"iPad6,12": "iPad (5th generation)",
"iPad7,5": "iPad (6th generation)",
"iPad7,6": "iPad (6th generation)",
"iPad7,11": "iPad (7th generation)",
"iPad7,12": "iPad (7th generation)",
"iPad11,6": "iPad (8th generation)",
"iPad11,7": "iPad (8th generation)",

"iPad13,1": "iPad Air (4th generation)",
"iPad13,2": "iPad Air (4th generation)",
"iPad11,3": "iPad Air (3th generation)",
Expand Down

0 comments on commit a2916e7

Please sign in to comment.