mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-11 02:49:40 +00:00
61 lines
2.5 KiB
Markdown
61 lines
2.5 KiB
Markdown
# pyzule-rw / cyan
|
|
|
|
a rewrite of [pyzule](https://github.com/asdfzxcvbn/pyzule) that doesn't (completely) suck !!
|
|
|
|
## features
|
|
|
|
you can open an issue to request a feature :D !!
|
|
|
|
- generate and use shareable .cyan files to configure IPAs!
|
|
- inject deb, dylib, framework, bundle, and appex files/folders
|
|
- automatically fix dependencies on CydiaSubstrate **(cyan uses [ElleKit](https://github.com/evelyneee/ellekit/)!)**, Cephei*, and Orion
|
|
- copy any unknown file/folder types to app root
|
|
- change app name, version, bundle id, and minimum os version
|
|
- remove UISupportedDevices
|
|
- remove watch app
|
|
- change the app icon
|
|
- fakesign the output ipa/app
|
|
- thin all binaries to arm64, it can LARGELY reduce app size sometimes!
|
|
- remove all app extensions (or just encrypted ones!)
|
|
|
|
## install instructions
|
|
|
|
cyan supports **linux, macOS, WSL, and jailbroken iOS!** all either x86_64 or arm64/aarch64 !!
|
|
|
|
first, make sure you have [ar](https://command-not-found.com/ar) and [tar](https://command-not-found.com/tar) installed
|
|
|
|
also obviously install python, version 3.9 or greater is required
|
|
|
|
<details>
|
|
<summary><b>linux/WSL/macOS instructions</b></summary>
|
|
<br/>
|
|
<ol>
|
|
<li>install <a href="https://github.com/pypa/pipx?tab=readme-ov-file#install-pipx">pipx</a></li>
|
|
<li>install OR update cyan: <code>pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip</code></li>
|
|
<li><b>if you want to inject dylibs ON AARCH64 LINUX</b>: <code>pipx inject cyan lief</code></li>
|
|
<li><b>if you want to change app icons (iOS NOT supported)</b>: <code>pipx inject cyan Pillow</code></li>
|
|
</ol>
|
|
</details>
|
|
|
|
<details>
|
|
<summary><b>jailbroken iOS instructions / automated environment (github workflow, etc)</b></summary>
|
|
<br/>
|
|
<ol>
|
|
<li>install OR update cyan: <code>pip install --force-reinstall https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip</code></li>
|
|
</ol>
|
|
</details>
|
|
|
|
note: if you installed cyan before v1.1.3 using `pip`, make sure you `pip uninstall cyan`, then verify you have the latest version with `cyan --version`
|
|
|
|
## making cyan files
|
|
|
|
cyan comes bundled with the `cgen` command, which lets you generate `.cyan` files to pass to `-z`/`--cyan` !
|
|
|
|
## acknowledgements
|
|
|
|
- [Al4ise](https://github.com/Al4ise) for the original [Azule](https://github.com/Al4ise/Azule)
|
|
- [lief-project](https://github.com/lief-project) for [LIEF](https://github.com/lief-project/LIEF)
|
|
- [tyilo](https://github.com/tyilo) for [insert_dylib](https://github.com/tyilo/insert_dylib/) (macOS/iOS)
|
|
- [LeanVel](https://github.com/LeanVel) for [insert_dylib](https://github.com/LeanVel/insert_dylib) (linux)
|
|
|