Skip to content

Commit

Permalink
update a9 check
Browse files Browse the repository at this point in the history
  • Loading branch information
m1stadev committed Aug 23, 2020
1 parent 0908848 commit 0208fd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inferius.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@

if args.ipsw:
device_identifier = args.device[0]
if device_identifier.startswith('iPhone8,') or device_identifier == 'iPad6,11' or 'iPad6,12':
device_identifier = device_identifier.lower()
if device_identifier.startswith('iphone8') or device_identifier == 'ipad6,11' or device_identifier == 'ipad6,12':
sys.exit('Error: A9 devices are currently not supported!\nExiting...') #TODO: Implement A9 support
else:
pass
if args.device:
pass
else:
Expand Down
2 changes: 2 additions & 0 deletions restituere.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
device_identifier = device_identifier.lower()
if device_identifier.startswith('iphone8') or device_identifier == 'ipad6,11' or device_identifier == 'ipad6,12':
sys.exit('Error: A9 devices are currently not supported!\nExiting...') #TODO: Implement A9 support
else:
pass
print('Fetching some required info...')
if args.verbose:
print('[VERBOSE] Fetching ECID...')
Expand Down

0 comments on commit 0208fd2

Please sign in to comment.