diff --git a/cyan/__main__.py b/cyan/__main__.py index 758ade4..c2134dc 100755 --- a/cyan/__main__.py +++ b/cyan/__main__.py @@ -95,7 +95,7 @@ def main() -> None: ) parser.add_argument( - "--version", action="version", version="cyan v1.0" + "--version", action="version", version="cyan v1.1.2" ) from cyan import logic diff --git a/cyan/tbhutils.py b/cyan/tbhutils.py index 8e162bb..1b76a2e 100644 --- a/cyan/tbhutils.py +++ b/cyan/tbhutils.py @@ -153,12 +153,16 @@ def extract_deb(deb: str, tweaks: dict[str, str], tmpdir: str) -> None: for hi in sum(( glob(f"{t2}/**/*.dylib", recursive=True), - glob(f"{t2}/**/*.bundle", recursive=True), glob(f"{t2}/**/*.appex", recursive=True), + glob(f"{t2}/**/*.bundle", recursive=True), glob(f"{t2}/**/*.framework", recursive=True) ), []): # type: ignore - if os.path.islink(hi): - continue # symlinks are broken iirc + if ( + os.path.islink(hi) # symlinks are broken iirc + or hi.count(".bundle") > 1 # prevent sub-bundle detection (rip) + or hi.count(".framework") > 1 + ): + continue tweaks[os.path.basename(hi)] = hi diff --git a/setup.py b/setup.py index e369b58..4b72875 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name="cyan", - version="1.1.1", + version="1.1.2", description="finally, pyzule doesn't suck", author="zx", author_email="zx@hrzn.email",