Skip to content

Commit

Permalink
clean up once finished with restore
Browse files Browse the repository at this point in the history
  • Loading branch information
m1stadev committed Aug 25, 2020
1 parent 71f3f3b commit 85d0eb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions restituere.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,8 @@
restore.restore(args.ipsw[0], restore.is_cellular(args.device[0]), 'yes')
else:
restore.restore(args.ipsw[0], restore.is_cellular(args.device[0]))
print('Restore finished! Cleaning up...')
shutil.rmtree('work')
print('Done.')
else:
exit(parser.print_help(sys.stderr))

0 comments on commit 85d0eb2

Please sign in to comment.