Tweak to inject Revenge into Discord. Forked BunnyTweak, modified to match with RevengeXposed behavior. There are still slight differences between these two, and this tweak may be missing some loader features.
Note
As of right now this tweak does not encompass some functionalities when running in a jailed environment with a wildcard certificate
If you value these features sign the application with a local dev certificate:
- setAlternateAppIcon does not work, thus breaking dynamic app icons
- sharing files to the application/selecting items via the Files app does not work
Builds can be found in the Releases tab.
Note
Raw decrypted IPAs which are used to provide prepatched IPAs are sourced from the Enmity community. These raw decrypted IPAs are also used throughout Enmity related projects such as enmity-mod/tweak and acquitelol/rosiecord.
All credits are attributed to the owner(s) of the raw IPAs.
- Install the Orion runtime via your preferred package manager, by adding
https://repo.chariz.com/
to your sources, then findingOrion Runtime
. - Install Revenge by downloading the appropriate Debian package (or by building your own, see Building RevengeTweak locally) and adding it to your package manager. Use the file ending in
arm.deb
for rootful jailbreaks, and the file ending inarm64.deb
for rootless jailbreaks.
Note
TrollStore may display an encryption warning, which you can disregard.
- Download and install Revenge.ipa using your preferred sideloading method.
Note
These steps assume you use MacOS.
- Install Xcode from the App Store. If you've previously installed the
Command Line Utilities
package, you will need to runsudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
to make sure you're using the Xcode tools instead.
If you want to revert the
xcode-select
change, runsudo xcode-select -switch /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-
Install the required dependencies. You can do this by running
brew install make ldid
in your terminal. If you do not have brew installed, follow the instructions here. -
Setup your path accordingly. We recommend you run the following before running the next commands, as well as any time you want to build RevengeTweak.
export PATH="$(brew --prefix make)/libexec/gnubin:$PATH"
# feel free to set whatever path you want, but it needs to be a direct path, without relative parts
export THEOS="/Users/vendetta/IPA/theos"
- Setup theos by running the script provided by theos.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"
If you've already installed theos, you can run $THEOS/bin/update-theos
to make sure it's up to date.
-
Clone this repository with
git clone git@github.com:revenge-mod/RevengeTweak.git
andcd
into it. Replace the URL with your fork if you've forked this repository. -
To build RevengeTweak, you can run
rm -rf packages && make clean && make package FINALPACKAGE=1 && make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
. The first command will remove any previous packages, the second will clean the project, the third will build the rootful package (which is denoted by thearm.deb
ending), and the fourth will build the rootless package (which is denoted by thearm64.deb
ending).
The first time you run this, it might take a bit longer, but subsequent builds should be much faster.
The resulting .deb
files will be in the packages
folder. As a reminder, *arm.deb
is for rootful jailbreaks and sideloading, and *arm64.deb
is for rootless jailbreaks.
If you want to contribute, you will basically need to follow the steps for Building RevengeTweak locally, as well as run make spm
for the Swift LSP to work.