diff --git a/cyan/tbhutils.py b/cyan/tbhutils.py index 8fa5f55..36be7c2 100644 --- a/cyan/tbhutils.py +++ b/cyan/tbhutils.py @@ -121,7 +121,10 @@ def extract_deb(deb: str, tweaks: dict[str, str], tmpdir: str) -> None: t2 = f"{tmpdir}/{uuid4()}" os.mkdir(t2) - if platform.system() == "Linux": + if platform.system() == "Linux" or ( + "iPhone" in platform.machine() + or "iPad" in platform.machine() + ): tool = ["ar", "-x", deb, f"--output={t2}"] else: tool = ["tar", "-xf", deb, f"--directory={t2}"] diff --git a/setup.py b/setup.py index a53aa5c..458505a 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( author_email="hi@zxcvbn.fyi", packages=["cyan", "cyan.tbhtypes"], # install_requires=["lief"], - python_requires=">=3.10", + python_requires=">=3.9", include_package_data=True, entry_points={ "console_scripts": ["cyan=cyan.__main__:main"],