Git Product home page Git Product logo

manifests-bypass-paki-bank's Introduction

Before working

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

Adding a new bypass/app

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.
    • Filename must be <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)

bypasses.yaml

Check with this file for available bypasses. Its structure is as follows:

  • Root key is the name of the bypass. It should be as close to the name of the package as possible, so use Liberty Lite (Beta) instead of Liberty Lite Beta.
  • Under the root key there are three keys that are made use of:
    • 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.

App manifest

Each app has its own individual manifest under the apps/ directory, which has this structure:

  • Filename: <app name>.yaml. It should be as close to the app name on App Store as possible; however, there are a few allowed exceptions:
    1. If the app name contains any of the following characters: < > : " / \ ? *, it should be omitted.
    2. If the app name contains a short description, such as YONO SBI:Banking and Lifestyle, the description should be cut off (YONO SBI).
    3. If the app name is written in a non-English script, it should be romanized (e.g. Альфа-Банк -> Alfa-Bank).
  • Inside the file are a few keys, in order:
    • 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:
      • If there is no known bypasses, the key's value is null:
        bypasses: null
      • If there are bypasses, the key contains an array, with each item containing these keys:
        • name: The name of the bypass, must be the same as a known bypass in bypasses.yaml
        • notes: Extra notes about using the bypass
        • version: Specify a version to downgrade to for the bypass
          Either name or notes must exist.

manifests-bypass-paki-bank's People

Contributors

joshuah345 avatar beerpiss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.