Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions pyboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import subprocess
from subprocess import check_output
from system import os
import sys

try:
Expand All @@ -23,23 +24,8 @@
except:
print("Failed to import dependencies, running pip to install them...")
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"])
try:
import argparse
import os
import platform
import plistlib
import re
import shutil
import time
from subprocess import check_output
from argparse import RawTextHelpFormatter
from resources import img4, pwn, ipsw
from resources.iospythontools import iphonewiki, ipswapi, utils

except:
print("\n\nFailed to install dependencies, please manually run 'pip3 install -r requirements.txt' then re-run PyBoot") # Simplest way to make sure the user knows what to do if they haven't installed dependencies yet
exit(0)
print("\n\nSuccessfully installed dependencies!\n\nContinuing with PyBoot...\n")

os("python3 pyboot.py")


def removeFiles():
Expand Down