2022-04-14 10:39:15 +02:00
|
|
|
package app.revanced.patches
|
2022-04-13 21:47:09 +02:00
|
|
|
|
|
|
|
import app.revanced.patcher.patch.Patch
|
2022-04-26 23:10:36 +02:00
|
|
|
import app.revanced.patches.music.audio.EnableAudioOnlyPatch
|
|
|
|
import app.revanced.patches.music.layout.RemoveUpgradeTabPatch
|
2022-04-28 15:47:08 +00:00
|
|
|
import app.revanced.patches.music.layout.RemoveTastebuilderPatch
|
2022-04-26 23:10:36 +02:00
|
|
|
import app.revanced.patches.music.premium.BackgroundPlayPatch
|
|
|
|
import app.revanced.patches.youtube.ad.HomeAdsPatch
|
|
|
|
import app.revanced.patches.youtube.ad.HomePromoPatch
|
|
|
|
import app.revanced.patches.youtube.ad.VideoAdsPatch
|
|
|
|
import app.revanced.patches.youtube.interaction.EnableSeekbarTappingPatch
|
|
|
|
import app.revanced.patches.youtube.layout.*
|
|
|
|
import app.revanced.patches.youtube.misc.IntegrationsPatch
|
2022-04-13 21:47:09 +02:00
|
|
|
|
|
|
|
/**
|
2022-04-14 10:17:53 +02:00
|
|
|
* Index contains all the patches.
|
2022-04-13 21:47:09 +02:00
|
|
|
*/
|
|
|
|
@Suppress("Unused")
|
|
|
|
object Index {
|
|
|
|
/**
|
|
|
|
* Array of patches.
|
|
|
|
* New patches should be added to the array.
|
|
|
|
*/
|
2022-04-14 11:58:25 +02:00
|
|
|
val patches: List<() -> Patch> = listOf(
|
2022-04-13 21:47:09 +02:00
|
|
|
::IntegrationsPatch,
|
2022-04-16 23:46:40 +03:00
|
|
|
::HomeAdsPatch,
|
2022-04-13 21:47:09 +02:00
|
|
|
::VideoAdsPatch,
|
2022-04-18 18:00:10 +02:00
|
|
|
::HomePromoPatch,
|
2022-04-13 21:47:09 +02:00
|
|
|
::MinimizedPlaybackPatch,
|
|
|
|
::CreateButtonRemoverPatch,
|
2022-04-19 17:51:45 +02:00
|
|
|
::ShortsButtonRemoverPatch,
|
2022-04-13 21:47:09 +02:00
|
|
|
::HideReelsPatch,
|
|
|
|
::OldQualityLayoutPatch,
|
2022-04-26 23:10:36 +02:00
|
|
|
::EnableSeekbarTappingPatch,
|
|
|
|
::EnableAudioOnlyPatch,
|
|
|
|
::RemoveUpgradeTabPatch,
|
2022-04-28 15:47:08 +00:00
|
|
|
::RemoveTastebuilderPatch,
|
2022-04-26 21:44:02 +00:00
|
|
|
::BackgroundPlayPatch,
|
|
|
|
::CodecsUnlockPatch
|
2022-04-13 21:47:09 +02:00
|
|
|
)
|
2022-04-26 21:44:02 +00:00
|
|
|
}
|