style: better patch descriptions (#193)
This commit is contained in:
parent
69490d7e83
commit
620fefae74
|
@ -16,7 +16,7 @@ import app.revanced.patches.music.ad.video.fingerprints.ShowMusicVideoAdsFingerp
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("music-video-ads")
|
@Name("music-video-ads")
|
||||||
@Description("Removes ads in the YouTube Music player.")
|
@Description("Removes ads in the music player.")
|
||||||
@MusicVideoAdsCompatibility
|
@MusicVideoAdsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class MusicVideoAdsPatch : BytecodePatch(
|
class MusicVideoAdsPatch : BytecodePatch(
|
||||||
|
|
|
@ -16,7 +16,7 @@ import app.revanced.patches.music.audio.codecs.fingerprints.CodecsLockFingerprin
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("codecs-unlock")
|
@Name("codecs-unlock")
|
||||||
@Description("Enables more audio codecs. Usually results in better audio quality but may depend on song and device.")
|
@Description("Adds more audio codec options. The new audio codecs usually result in better audio quality.")
|
||||||
@CodecsUnlockCompatibility
|
@CodecsUnlockCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class CodecsUnlockPatch : BytecodePatch(
|
class CodecsUnlockPatch : BytecodePatch(
|
||||||
|
|
|
@ -17,7 +17,7 @@ import app.revanced.patches.music.audio.exclusiveaudio.fingerprints.ExclusiveAud
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("exclusive-audio-playback")
|
@Name("exclusive-audio-playback")
|
||||||
@Description("Adds the option to play music without video.")
|
@Description("Enables the option to play music without video.")
|
||||||
@ExclusiveAudioCompatibility
|
@ExclusiveAudioCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class ExclusiveAudioPatch : BytecodePatch(
|
class ExclusiveAudioPatch : BytecodePatch(
|
||||||
|
|
|
@ -15,7 +15,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction22c
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("tasteBuilder-remover")
|
@Name("tasteBuilder-remover")
|
||||||
@Description("Removes the \"Tell us which artists you like\" card from the Home screen. The same functionality can be triggered from the settings anyway.")
|
@Description("Removes the \"Tell us which artists you like\" card from the home screen.")
|
||||||
@RemoveTasteBuilderCompatibility
|
@RemoveTasteBuilderCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class RemoveTasteBuilderPatch : BytecodePatch(
|
class RemoveTasteBuilderPatch : BytecodePatch(
|
||||||
|
|
|
@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("upgrade-button-remover")
|
@Name("upgrade-button-remover")
|
||||||
@Description("Removes the upgrade tab from the pivot bar in YouTube Music.")
|
@Description("Removes the upgrade tab from the pivot bar.")
|
||||||
@RemoveUpgradeButtonCompatibility
|
@RemoveUpgradeButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class RemoveUpgradeButtonPatch : BytecodePatch(
|
class RemoveUpgradeButtonPatch : BytecodePatch(
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.jf.dexlib2.immutable.reference.ImmutableMethodReference
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([ResourceIdMappingProviderResourcePatch::class, IntegrationsPatch::class])
|
@Dependencies([ResourceIdMappingProviderResourcePatch::class, IntegrationsPatch::class])
|
||||||
@Name("general-ads")
|
@Name("general-ads")
|
||||||
@Description("Removes general ads in bytecode.")
|
@Description("Removes general ads.")
|
||||||
@GeneralAdsCompatibility
|
@GeneralAdsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class GeneralBytecodeAdsPatch : BytecodePatch() {
|
class GeneralBytecodeAdsPatch : BytecodePatch() {
|
||||||
|
|
|
@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@Name("video-ads")
|
@Name("video-ads")
|
||||||
@Description("Removes ads in the YouTube video player.")
|
@Description("Removes ads in the video player.")
|
||||||
@VideoAdsCompatibility
|
@VideoAdsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class VideoAdsPatch : BytecodePatch(
|
class VideoAdsPatch : BytecodePatch(
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@Name("seekbar-tapping")
|
@Name("seekbar-tapping")
|
||||||
@Description("Enables tapping on the seekbar of the YouTube player.")
|
@Description("Enables tap-to-seek on the seekbar of the video player.")
|
||||||
@SeekbarTappingCompatibility
|
@SeekbarTappingCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class EnableSeekbarTappingPatch : BytecodePatch(
|
class EnableSeekbarTappingPatch : BytecodePatch(
|
||||||
|
|
|
@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.WideLiteralInstruction
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([ResourceIdMappingProviderResourcePatch::class])
|
@Dependencies([ResourceIdMappingProviderResourcePatch::class])
|
||||||
@Name("hide-autoplay-button")
|
@Name("hide-autoplay-button")
|
||||||
@Description("Disables the autoplay button.")
|
@Description("Hides the autoplay button in the video player.")
|
||||||
@AutoplayButtonCompatibility
|
@AutoplayButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class HideAutoplayButton : BytecodePatch(
|
class HideAutoplayButton : BytecodePatch(
|
||||||
|
|
|
@ -19,7 +19,7 @@ import kotlin.io.path.exists
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([FixLocaleConfigErrorPatch::class])
|
@Dependencies([FixLocaleConfigErrorPatch::class])
|
||||||
@Name("premium-heading")
|
@Name("premium-heading")
|
||||||
@Description("Shows premium branding on the YouTube home screen.")
|
@Description("Shows premium branding on the home screen.")
|
||||||
@PremiumHeadingCompatibility
|
@PremiumHeadingCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class PremiumHeadingPatch : ResourcePatch() {
|
class PremiumHeadingPatch : ResourcePatch() {
|
||||||
|
|
|
@ -17,7 +17,7 @@ import java.nio.file.Files
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([FixLocaleConfigErrorPatch::class])
|
@Dependencies([FixLocaleConfigErrorPatch::class])
|
||||||
@Name("custom-branding")
|
@Name("custom-branding")
|
||||||
@Description("Changes the branding of YouTube.")
|
@Description("Changes the YouTube launcher icon to be ReVanced's.")
|
||||||
@CustomBrandingCompatibility
|
@CustomBrandingCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class CustomBrandingPatch : ResourcePatch() {
|
class CustomBrandingPatch : ResourcePatch() {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@Name("hide-cast-button")
|
@Name("hide-cast-button")
|
||||||
@Description("Hides the cast button.")
|
@Description("Hides the cast button in the video player.")
|
||||||
@CastButtonCompatibility
|
@CastButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class HideCastButtonPatch : BytecodePatch() {
|
class HideCastButtonPatch : BytecodePatch() {
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.jf.dexlib2.iface.reference.MethodReference
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class, ResourceIdMappingProviderResourcePatch::class])
|
@Dependencies([IntegrationsPatch::class, ResourceIdMappingProviderResourcePatch::class])
|
||||||
@Name("disable-create-button")
|
@Name("disable-create-button")
|
||||||
@Description("Disables the create button.")
|
@Description("Hides the create button in the navigation bar.")
|
||||||
@CreateButtonCompatibility
|
@CreateButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class CreateButtonRemoverPatch : BytecodePatch(
|
class CreateButtonRemoverPatch : BytecodePatch(
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.jf.dexlib2.iface.reference.MethodReference
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("disable-fullscreen-panels")
|
@Name("disable-fullscreen-panels")
|
||||||
@Description("Disables comments panel in fullscreen view.")
|
@Description("Disables video description and comments panel in fullscreen view.")
|
||||||
@FullscreenPanelsCompatibility
|
@FullscreenPanelsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class FullscreenPanelsRemovalPatch : BytecodePatch(
|
class FullscreenPanelsRemovalPatch : BytecodePatch(
|
||||||
|
|
|
@ -13,7 +13,7 @@ import app.revanced.patches.youtube.layout.reels.fingerprints.HideReelsFingerpri
|
||||||
|
|
||||||
//@Patch TODO: this is currently in the general-bytecode-ads patch due to the integrations having a preference for including reels or not. Move it here.
|
//@Patch TODO: this is currently in the general-bytecode-ads patch due to the integrations having a preference for including reels or not. Move it here.
|
||||||
@Name("hide-reels")
|
@Name("hide-reels")
|
||||||
@Description("Hides reels on the page.")
|
@Description("Hides reels on the home page.")
|
||||||
@HideReelsCompatibility
|
@HideReelsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class HideReelsPatch : BytecodePatch(
|
class HideReelsPatch : BytecodePatch(
|
||||||
|
|
|
@ -22,7 +22,7 @@ import app.revanced.patches.youtube.misc.videoid.patch.VideoIdPatch
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class, VideoIdPatch::class])
|
@Dependencies([IntegrationsPatch::class, VideoIdPatch::class])
|
||||||
@Name("return-youtube-dislike")
|
@Name("return-youtube-dislike")
|
||||||
@Description("Shows the dislike count of videos.")
|
@Description("Shows the dislike count of videos using the Return YouTube Dislike API.")
|
||||||
@ReturnYouTubeDislikeCompatibility
|
@ReturnYouTubeDislikeCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class ReturnYouTubeDislikePatch : BytecodePatch(
|
class ReturnYouTubeDislikePatch : BytecodePatch(
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@Name("hide-shorts-button")
|
@Name("hide-shorts-button")
|
||||||
@Description("Hides the shorts button.")
|
@Description("Hides the shorts button on the navigation bar.")
|
||||||
@ShortsButtonCompatibility
|
@ShortsButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class ShortsButtonRemoverPatch : BytecodePatch(
|
class ShortsButtonRemoverPatch : BytecodePatch(
|
||||||
|
|
|
@ -21,7 +21,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
@Patch
|
@Patch
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@Name("hide-watermark")
|
@Name("hide-watermark")
|
||||||
@Description("Hides the creator's watermark on videos.")
|
@Description("Hides creator's watermarks on videos.")
|
||||||
@HideWatermarkCompatibility
|
@HideWatermarkCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class HideWatermarkPatch : BytecodePatch(
|
class HideWatermarkPatch : BytecodePatch(
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.jf.dexlib2.iface.reference.MethodReference
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("custom-playback-speed")
|
@Name("custom-playback-speed")
|
||||||
@Description("Allows to change the default playback speed options.")
|
@Description("Adds more video playback speed options.")
|
||||||
@Dependencies([IntegrationsPatch::class])
|
@Dependencies([IntegrationsPatch::class])
|
||||||
@CustomPlaybackSpeedCompatibility
|
@CustomPlaybackSpeedCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
|
|
|
@ -37,7 +37,7 @@ import org.jf.dexlib2.immutable.reference.ImmutableStringReference
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@Name("microg-support")
|
@Name("microg-support")
|
||||||
@Description("Allows YouTube ReVanced to run without root and under a different package name.")
|
@Description("Allows YouTube ReVanced to run without root and under a different package name with Vanced MicroG")
|
||||||
@MicroGPatchCompatibility
|
@MicroGPatchCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class MicroGBytecodePatch : BytecodePatch(
|
class MicroGBytecodePatch : BytecodePatch(
|
||||||
|
|
Loading…
Reference in a new issue