WHY IS THIS SO FUCKING STUPID

This commit is contained in:
zx
2024-09-07 17:55:47 -04:00
parent dd67c511b4
commit 3c311a6982
2 changed files with 6 additions and 4 deletions

View File

@@ -95,10 +95,12 @@ class Executable:
)
# `extract_deb()` will modify `tweaks`, which is why we make a copy
cwd = os.getcwd()
for bn, path in dict(tweaks).items():
if bn.endswith(".deb"):
tbhutils.extract_deb(path, tweaks, tmpdir)
continue
os.chdir(cwd) # i fucking hate jailbroken iOS utils.
needed: set[str] = set()
for bn, path in tweaks.items():