Ensure you have a fairly recent Python 3 install, then you can install dependencies required for work:
# Setup a venv
python -m venv env/
# Activate venv
source env/bin/activate # Unix systems
env/Scripts/Activate.ps1 # PowerShell
env/Scripts/activate.bat # cmd
# Required to work on manifests
pip install -r requirements.txt
pre-commit install
# Required to work on the build script
pip install -r ci/requirements.txt
If pre-commit
is complaining about UnicodeDecodeError
, a temporary workaround is to edit the pre-commit hooks to use UTF-8:
# lib\site-packages\pre_commit_hooks\sort_simple_yaml.py
# line 110
# snip
with open(filename, 'r+', encoding='utf8') as f:
# snip
The files to edit are in this repository.
bypasses.yaml
contains information on the bypass themselves; mainly, its name and the repo it's hosted on.apps/
contains individual files for each app, containing basic information and which bypass to use.
<app name>.yaml
As each already have their own defined structure, please follow the format on existing files.
All manifests must be encoded in UTF-8, with the newline being \n
(Unix line endings)
Check with this file for available bypasses. Its structure is as follows:
Liberty Lite (Beta)
instead of Liberty Lite Beta
.notes
: Extra notes about the bypass that does not fit any of the keys below.repo
: APT (Sileo, Cydia, etc.) source of the bypass. If the bypass is not hosted in a repo, please link the canonical source in the notes
key (see: GenshinJailbreakBypass)guide
: Guide link for the bypass. If you want to add a guide, please do so under the docsify
branch.Each app has its own individual manifest under the apps/
directory, which has this structure:
<app name>.yaml
. It should be as close to the app name on App Store as possible; however, there are a few allowed exceptions:
< > : " / \ ? *
, it should be omitted.name
, whose value should be the name of the app. Again, it should be as close to the app name on App Store as possible, but exception ii applies.uri
must contain an App Store URL to the app. This can be easily acquired by googling site:apps.apple.com <app name>
. If the link is not English, suffix the link with ?l=en
(e.g. https://apps.apple.com/hk/app/aastocks-m-mobile/id368726182?l=en
).bypasses
contain information on how to bypass the app's detection:
null
:
bypasses: null
name
: The name of the bypass, must be the same as a known bypass in bypasses.yaml
notes
: Extra notes about using the bypassversion
: Specify a version to downgrade to for the bypassname
or notes
must exist.