mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-11 12:04:39 +02:00
chore: improve patch descriptions (#65)
* (Bypass image region restrictions): Fix patch description * (Change version code): Simplify patch description * (Change version code): Fix info for mounting and rephrase * (YT - Swipe controls): Add fullscreen gesture to description * fix syntax error --------- Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
parent
e167d679c0
commit
f26dacae48
@ -11,10 +11,10 @@ import org.w3c.dom.Element
|
||||
|
||||
@Patch(
|
||||
name = "Change version code",
|
||||
description = "Changes the version code of the app. By default the highest version code is set. " +
|
||||
"This allows older versions of an app to be installed " +
|
||||
"if their version code is set to the same or a higher value and can stop app stores to update the app. " +
|
||||
"This does not apply when installing with root install (mount).",
|
||||
description = "Changes the version code of the app to the value specified in options.json. " +
|
||||
"Except when mounting, this can prevent app stores from updating the app and allow " +
|
||||
"the app to be installed over an existing installation that has a higher version code. " +
|
||||
"By default, the highest version code is set.",
|
||||
use = false,
|
||||
)
|
||||
@Suppress("unused")
|
||||
@ -67,4 +67,4 @@ object ChangeVersionCodePatch : ResourcePatch() {
|
||||
"Invalid versionCode: $versionCodeString, " +
|
||||
"Version code should be larger than 1 and smaller than $MAX_VALUE."
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@ import app.revanced.util.patch.BaseBytecodePatch
|
||||
@Suppress("unused")
|
||||
object BypassImageRegionRestrictionsPatch : BaseBytecodePatch(
|
||||
name = "Bypass image region restrictions",
|
||||
description = "Adds an option to use a different host for static images," +
|
||||
"and can fix missing images that are blocked in some countries.",
|
||||
description = "Adds an option to use a different host for static images, " +
|
||||
"so that images blocked in some countries can be received.",
|
||||
dependencies = setOf(
|
||||
CronetImageUrlHookPatch::class,
|
||||
SettingsPatch::class
|
||||
|
@ -9,8 +9,8 @@ import app.revanced.util.patch.BaseBytecodePatch
|
||||
@Suppress("unused")
|
||||
object BypassImageRegionRestrictionsPatch : BaseBytecodePatch(
|
||||
name = "Bypass image region restrictions",
|
||||
description = "Adds an option to use a different host for static images," +
|
||||
"and can fix missing images that are blocked in some countries.",
|
||||
description = "Adds an option to use a different host for static images, " +
|
||||
"so that images blocked in some countries can be received.",
|
||||
dependencies = setOf(
|
||||
CronetImageUrlHookPatch::class,
|
||||
SettingsPatch::class,
|
||||
|
@ -36,7 +36,8 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod
|
||||
@Suppress("unused")
|
||||
object SwipeControlsPatch : BaseBytecodePatch(
|
||||
name = "Swipe controls",
|
||||
description = "Adds options to enable and configure volume and brightness swipe controls.",
|
||||
description = "Adds options for controlling volume and brightness with swiping, " +
|
||||
"and whether to enter fullscreen when swiping down below the player.",
|
||||
dependencies = setOf(
|
||||
LockModeStateHookPatch::class,
|
||||
MainActivityResolvePatch::class,
|
||||
|
Loading…
x
Reference in New Issue
Block a user