feat: change patches naming convention (#2612)
This commit is contained in:
@@ -21,7 +21,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("block-audio-ads")
|
||||
@Name("Block audio ads")
|
||||
@Description("Blocks audio ads in streams and VODs.")
|
||||
@AudioAdsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -23,7 +23,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([VideoAdsPatch::class, IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("block-embedded-ads")
|
||||
@Name("Block embedded ads")
|
||||
@Description("Blocks embedded stream ads using services like TTV.lol or PurpleAdBlocker.")
|
||||
@EmbeddedAdsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -25,7 +25,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("block-video-ads")
|
||||
@Name("Block video ads")
|
||||
@Description("Blocks video ads in streams and VODs.")
|
||||
@VideoAdsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("show-deleted-messages")
|
||||
@Name("Show deleted messages")
|
||||
@Description("Shows deleted chat messages behind a clickable spoiler.")
|
||||
@ShowDeletedMessagesCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@Name("auto-claim-channel-points")
|
||||
@Name("Auto claim channel points")
|
||||
@Description("Automatically claim Channel Points.")
|
||||
@AutoClaimChannelPointsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -22,7 +22,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch(false)
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("debug-mode")
|
||||
@Name("Debug mode")
|
||||
@Description("Enables Twitch's internal debugging mode.")
|
||||
@DebugModeCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import app.revanced.patcher.annotation.Version
|
||||
import app.revanced.patches.twitch.misc.integrations.annotations.IntegrationsCompatibility
|
||||
import app.revanced.patches.shared.integrations.patch.AbstractIntegrationsPatch.IntegrationsFingerprint
|
||||
|
||||
@Name("init-fingerprint")
|
||||
@Name("Init fingerprint")
|
||||
@IntegrationsCompatibility
|
||||
@Version("0.0.1")
|
||||
object InitFingerprint : IntegrationsFingerprint(
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import app.revanced.patches.shared.integrations.patch.AbstractIntegrationsPatch
|
||||
import app.revanced.patches.twitch.misc.integrations.annotations.IntegrationsCompatibility
|
||||
import app.revanced.patches.twitch.misc.integrations.fingerprints.InitFingerprint
|
||||
|
||||
@Name("integrations")
|
||||
@Name("Integrations")
|
||||
@IntegrationsCompatibility
|
||||
@RequiresIntegrations
|
||||
class IntegrationsPatch : AbstractIntegrationsPatch(
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ import java.io.Closeable
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsResourcePatch::class])
|
||||
@Name("settings")
|
||||
@Name("Settings")
|
||||
@Description("Adds settings menu to Twitch.")
|
||||
@SettingsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import app.revanced.patches.shared.settings.preference.impl.PreferenceScreen
|
||||
import app.revanced.patches.shared.settings.resource.patch.AbstractSettingsResourcePatch
|
||||
import app.revanced.patches.twitch.misc.settings.annotations.SettingsCompatibility
|
||||
|
||||
@Name("settings-resource-patch")
|
||||
@Name("Settings resource patch")
|
||||
@SettingsCompatibility
|
||||
@Version("0.0.1")
|
||||
class SettingsResourcePatch : AbstractSettingsResourcePatch(
|
||||
|
||||
Reference in New Issue
Block a user