Skip to content

Commit

Permalink
feat(Infinity for Reddit): Add support for package name on IzzyOnDroid
Browse files Browse the repository at this point in the history
  • Loading branch information
ILoveOpenSourceApplications committed Mar 6, 2025
1 parent 49bf811 commit d79a7da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod
import com.android.tools.smali.dexlib2.immutable.ImmutableMethodImplementation

val spoofClientPatch = spoofClientPatch(redirectUri = "infinity://localhost") { clientIdOption ->
compatibleWith("ml.docilealligator.infinityforreddit", "ml.docilealligator.infinityforreddit.plus")
compatibleWith(
"ml.docilealligator.infinityforreddit",
"ml.docilealligator.infinityforreddit.plus",
"ml.docilealligator.infinityforreddit.patreon"
)

val clientId by clientIdOption

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ val unlockSubscriptionPatch = bytecodePatch(
) {
dependsOn(spoofClientPatch)

compatibleWith("ml.docilealligator.infinityforreddit", "ml.docilealligator.infinityforreddit.plus")
compatibleWith(
"ml.docilealligator.infinityforreddit",
"ml.docilealligator.infinityforreddit.plus",
"ml.docilealligator.infinityforreddit.patreon"
)

execute {
setOf(
Expand Down

0 comments on commit d79a7da

Please sign in to comment.