generated from ReVanced/revanced-patches-template
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Twitter): Only show settings category if patch is applied
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...otlin/crimera/patches/twitter/misc/settings/fingerprints/SettingsStatusLoadFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package crimera.patches.twitter.misc.settings.fingerprints | ||
|
||
import app.revanced.patcher.fingerprint.MethodFingerprint | ||
|
||
object SettingsStatusLoadFingerprint: MethodFingerprint( | ||
customFingerprint = { methodDef, _ -> | ||
methodDef.definingClass.endsWith("Lapp/revanced/integrations/twitter/settings/SettingsStatus;") && | ||
methodDef.name == "load" | ||
} | ||
) |
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every time I patch the program with cli commands, the mod menu causes the app to crash
How should I do it?
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try building it with revanced-integrations https://github.com/crimera/revanced-integrations/releases
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java -jar cli.jar
patch -b patches.jar
-m integrations.apk
-o out.apk input.apk
replace
integrations.apk
with the Integrations path.2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm... do you have a crash log?
oh, and can I see the command you use for building.
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i used this cmd for building
java -jar cli.jar
patch -b patches.jar
-m integrations.apk
-o out.apk input.apk
i deleted output apk so i haven't crash log for now but i can send it to you a few minutes later
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also i dont know how use cmd for include/exclude features
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just add -i "Name of patch to include" or -e "patch to exclude" before the input APK
so the CMD will look something like this
java -jar cli.jar
patch -b patches.jar
-m integrations.apk
-i "Hide For You"
-o out.apk input.apk
2141680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@crimera
i managed to build and fix problem, thank you bro
you are so kind and Patience <3