mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
format CONFIG.md
This commit is contained in:
parent
9b696e8fbc
commit
f77ea6d4a3
31
CONFIG.md
31
CONFIG.md
@ -13,21 +13,23 @@ There exists an example below with all defaults shown and all the keys explicitl
|
|||||||
**All keys are optional** (except download urls) and are assigned to their default values if not set explicitly.
|
**All keys are optional** (except download urls) and are assigned to their default values if not set explicitly.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
parallel-jobs = 1 # amount of cores to use for parallel patching, if not set $(nproc) is used
|
parallel-jobs = 1 # amount of cores to use for parallel patching, if not set $(nproc) is used
|
||||||
compression-level = 9 # module zip compression level
|
compression-level = 9 # module zip compression level
|
||||||
remove-rv-integrations-checks = true # remove checks from the revanced integrations
|
remove-rv-integrations-checks = true # remove checks from the revanced integrations
|
||||||
|
|
||||||
patches-source = "revanced/revanced-patches" # where to fetch patches bundle from. default: "revanced/revanced-patches"
|
patches-source = "revanced/revanced-patches" # where to fetch patches bundle from. default: "revanced/revanced-patches"
|
||||||
cli-source = "j-hc/revanced-cli" # where to fetch cli from. default: "j-hc/revanced-cli"
|
cli-source = "j-hc/revanced-cli" # where to fetch cli from. default: "j-hc/revanced-cli"
|
||||||
# options like cli-source can also set per app
|
# options like cli-source can also set per app
|
||||||
rv-brand = "ReVanced Extended" # rebrand from 'ReVanced' to something different. default: "ReVanced"
|
rv-brand = "ReVanced Extended" # rebrand from 'ReVanced' to something different. default: "ReVanced"
|
||||||
|
|
||||||
patches-version = "v2.160.0" # 'latest', 'dev', or a version number. default: "latest"
|
patches-version = "v2.160.0" # 'latest', 'dev', or a version number. default: "latest"
|
||||||
cli-version = "v5.0.0" # 'latest', 'dev', or a version number. default: "latest"
|
cli-version = "v5.0.0" # 'latest', 'dev', or a version number. default: "latest"
|
||||||
|
|
||||||
[Some-App]
|
[Some-App]
|
||||||
app-name = "SomeApp" # if set, release name becomes SomeApp instead of Some-App. default is same as table name, which is 'Some-App' here.
|
app-name = "SomeApp" # if set, release name becomes SomeApp instead of Some-App. default is same as table name, which is 'Some-App' here.
|
||||||
enabled = true # whether to build the app. default: true
|
enabled = true # whether to build the app. default: true
|
||||||
|
version = "auto" # 'auto', 'latest', 'beta' or a version number (e.g. '17.40.41'). default: auto
|
||||||
|
build-mode = "apk" # 'both', 'apk' or 'module'. default: apk
|
||||||
|
|
||||||
# optional args to be passed to cli. can be used to set patch options
|
# optional args to be passed to cli. can be used to set patch options
|
||||||
# multiline strings in the config is supported
|
# multiline strings in the config is supported
|
||||||
@ -35,22 +37,23 @@ patcher-args = """\
|
|||||||
-OdarkThemeBackgroundColor=#FF0F0F0F \
|
-OdarkThemeBackgroundColor=#FF0F0F0F \
|
||||||
-Oanother-option=value \
|
-Oanother-option=value \
|
||||||
"""
|
"""
|
||||||
version = "auto" # 'auto', 'latest', 'beta' or a version number (e.g. '17.40.41'). default: auto
|
|
||||||
# 'auto' option gets the latest possible version supported by all the included patches
|
# 'auto' option gets the latest possible version supported by all the included patches
|
||||||
# 'latest' gets the latest stable without checking patches support. 'beta' gets the latest beta/alpha
|
# 'latest' gets the latest stable without checking patches support. 'beta' gets the latest beta/alpha
|
||||||
include-stock = true # includes stock apk in the module. default: true
|
|
||||||
build-mode = "apk" # 'both', 'apk' or 'module'. default: apk
|
|
||||||
# whitespace seperated list of patches to exclude. default: ""
|
# whitespace seperated list of patches to exclude. default: ""
|
||||||
excluded-patches = """\
|
excluded-patches = """\
|
||||||
'Some Patch' \
|
'Some Patch' \
|
||||||
'Some Other Patch' \
|
'Some Other Patch' \
|
||||||
"""
|
"""
|
||||||
included-patches = "'Some Patch'" # whitespace seperated list of patches to include, all default patches are included by default. default: ""
|
|
||||||
exclusive-patches = false # exclude all patches by default. default: false
|
included-patches = "'Some Patch'" # whitespace seperated list of non-default patches to include. default: ""
|
||||||
|
include-stock = true # includes stock apk in the module. default: true
|
||||||
|
exclusive-patches = false # exclude all patches by default. default: false
|
||||||
apkmirror-dlurl = "https://www.apkmirror.com/apk/inc/app"
|
apkmirror-dlurl = "https://www.apkmirror.com/apk/inc/app"
|
||||||
uptodown-dlurl = "https://spotify.en.uptodown.com/android"
|
uptodown-dlurl = "https://spotify.en.uptodown.com/android"
|
||||||
module-prop-name = "some-app-magisk" # magisk module prop name.
|
module-prop-name = "some-app-magisk" # magisk module prop name.
|
||||||
apkmirror-dpi = "360-480dpi" # used to select apk variant from apkmirror. default: nodpi
|
apkmirror-dpi = "360-480dpi" # used to select apk variant from apkmirror. default: nodpi
|
||||||
arch = "arm64-v8a" # 'arm64-v8a', 'arm-v7a', 'all', 'both'. 'both' downloads both arm64-v8a and arm-v7a. default: all
|
arch = "arm64-v8a" # 'arm64-v8a', 'arm-v7a', 'all', 'both'. 'both' downloads both arm64-v8a and arm-v7a. default: all
|
||||||
riplib = true # enables ripping x86 and x86_64 libs from apks with j-hc revanced cli. default: true
|
riplib = true # enables ripping x86 and x86_64 libs from apks with j-hc revanced cli. default: true
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user