forked from vendetta-mod/Vendetta
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
17 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,42 @@ | ||
# Bunny [![Discord](https://img.shields.io/discord/1196075698301968455?style=social&logo=discord&label=Pyoncord)](https://discord.gg/XjYgWXHb9Q) | ||
A mod for Discord's mobile apps, a fork of [Vendetta](https://github.com/vendetta-mod/Vendetta/). | ||
# Revenge [![Discord](https://img.shields.io/discord/1205207689832038522?style=social&logo=discord&label=Revenge)]([https://discord.gg/24Ue3pzaum]) | ||
A modification for Discord's mobile apps, a fork of [Bunny](https://github.com/pyoncord/Bunny). | ||
|
||
## Installing | ||
|
||
### Android | ||
|
||
- **Root** with Xposed - [BunnyXposed](https://github.com/pyoncord/BunnyXposed/releases/latest) | ||
- **Non-root** - [BunnyManager](https://github.com/pyoncord/BunnyManager/releases/latest) | ||
- **Root** with Xposed - [RevengeXposed](https://github.com/revenge-mod/RevengeXposed/releases/latest) | ||
- **Non-root** - [Revenge Manager](https://github.com/revenge-mod/RevengeManager/releases/latest) | ||
|
||
### iOS | ||
- [**BunnyTweak**](https://github.com/pyoncord/BunnyTweak) - Get prebuilt rootful and rootless `.deb` files or the prepatched `.ipa ` | ||
- [**RevengeTweak**](https://github.com/revenge-mod/RevengeTweak) - Get prebuilt rootful and rootless `.deb` files or the prepatched `.ipa ` | ||
|
||
## Building | ||
1. Install a Bunny loader with loader config support (any mentioned in the [Installing](#installing) section). | ||
1. Go to Settings > General and enable Developer Settings. | ||
1. Clone the repo: | ||
``` | ||
git clone https://github.com/pyoncord/Bunny | ||
1. Install a Revenge loader with config support (any mentioned in the [Installing](#installing) section). | ||
2. Go to **Settings** > **General** and enable **Developer Settings**. | ||
3. Clone the repository | ||
|
||
```sh | ||
git clone https://github.com/revenge-mod/Revenge.git | ||
``` | ||
1. Install dependencies: | ||
|
||
4. Install dependencies | ||
|
||
``` | ||
pnpm i | ||
``` | ||
1. Build Bunny's code: | ||
|
||
5. Build Revenge's code | ||
``` | ||
pnpm build | ||
``` | ||
1. In the newly created `dist` directory, run a HTTP server. I recommend [http-server](https://www.npmjs.com/package/http-server). | ||
1. Go to Settings > Developer enabled earlier. Enable `Load from custom url` and input the IP address and port of the server (e.g. `http://192.168.1.236:4040/bunny.js`) in the new input box labelled `Bunny URL`. | ||
1. Restart Discord. Upon reload, you should notice that your device will download Bunny's bundled code from your server, rather than GitHub. | ||
1. Make your changes, rebuild, reload, go wild! | ||
Alternatively, you can directly *serve* the bundled code by running `pnpm serve`. `bunny.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/bunny.js` as a custom url and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it. | ||
6. In the newly created `dist` directory, run a HTTP server. I recommend [http-server](https://www.npmjs.com/package/http-server). | ||
7. Go to **Settings** > **Developer** enabled earlier. Enable `Load from custom URL` and input the IP address and port of the server (e.g. `http://192.168.1.236:4040/revenge.js`) in the new input box labeled `Revenge URL`. | ||
8. Restart Discord. Upon reload, you should notice that your device will download Revenge's bundled code from your server, rather than GitHub. | ||
9. Make your changes, rebuild, reload, go wild! | ||
|
||
Alternatively, you can directly *serve* the bundled code by running `pnpm serve`. `revenge.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/revenge.js` as a custom URL and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it. | ||
|
||
If the bundle keeps being cached and not updated, you can instead tap the **Settings** > **Developer** > **Clear JS bundle** option which will prompt you to reload. |