feat: change patches naming convention

This commit is contained in:
inotia00
2023-07-11 22:02:15 +09:00
parent a5c8ce862d
commit d7ba1eef78
212 changed files with 190 additions and 518 deletions

View File

@ -2,8 +2,6 @@ package app.revanced.patches.youtube.swipe.swipecontrols.bytecode.patch
import app.revanced.extensions.toErrorResult
import app.revanced.extensions.transformMethods
import app.revanced.patcher.annotation.Name
import app.revanced.patcher.annotation.Version
import app.revanced.patcher.data.BytecodeContext
import app.revanced.patcher.patch.BytecodePatch
import app.revanced.patcher.patch.PatchResult
@ -13,14 +11,10 @@ import app.revanced.patcher.util.TypeUtil.traverseClassHierarchy
import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod.Companion.toMutable
import app.revanced.patches.youtube.swipe.swipecontrols.bytecode.fingerprints.SwipeControlsHostActivityFingerprint
import app.revanced.patches.youtube.swipe.swipecontrols.bytecode.fingerprints.WatchWhileActivityFingerprint
import app.revanced.patches.youtube.utils.annotations.YouTubeCompatibility
import app.revanced.patches.youtube.utils.playertype.patch.PlayerTypeHookPatch
import org.jf.dexlib2.AccessFlags
import org.jf.dexlib2.immutable.ImmutableMethod
@Name("swipe-controls-bytecode-patch")
@YouTubeCompatibility
@Version("0.0.3")
@DependsOn([PlayerTypeHookPatch::class])
class SwipeControlsBytecodePatch : BytecodePatch(
listOf(

View File

@ -17,7 +17,7 @@ import app.revanced.util.resources.ResourceUtils
import app.revanced.util.resources.ResourceUtils.copyResources
@Patch
@Name("swipe-controls")
@Name("Swipe controls")
@Description("Adds volume and brightness swipe controls.")
@DependsOn(
[