Skip to content

bunny-mod/BunnyTweak

 
 

Repository files navigation

BunnyTweak

Tweak to inject Bunny into Discord. Forked VendettaTweak, modified to match with BunnyXposed behavior.
There are still slight differences between these two.

Amended Licensing Terms Notice

As of commit b7cd1471f7d9dd79fe7832e7e7face296f2fd6a6, this repository includes an amendment to the original Open Software License 3.0 ("OSL 3.0"). The following new conditions have been added to the license:

  • Substantial Modification Requirement: Any forks, derivative works, or redistributions of this project must meet the requirement for substantial modification as outlined in the updated license. Redistribution without substantial changes to the codebase or functionality is prohibited.

This amendment is made in accordance with the OSL 3.0's Section 16, which allows for modification of the license as long as the modified version is not presented as the original OSL. The modifications applied here are clearly delineated and include only the added condition of requiring substantial changes to redistributed code.

Warning

When sideloading with an Apple Developer Account, some functionality will break. If you value these features, sideload with a local development certificate instead. There is a workaround available that fixes several of the issues. See below for details.

Issues & Workaround
To resolve the fixable issues, you need to match the app's bundle ID with your provisioning profile's App ID (excluding the team ID prefix):
Issue Fixable Example
Cannot change app icons
Cannot select items via Files app
Cannot share items to Discord
Cannot use passkeys

Doing this will break notifications if the app is backgrounded or closed

Installation

Builds can be found in the Releases tab.

Note

Decrypted IPAs are sourced from the Enmity community. These are also used throughout Enmity related projects such as enmity-mod/tweak and acquitelol/rosiecord.
All credits are attributed to the owner(s).

Jailbroken

  • Install Bunny by downloading the appropriate Debian package (or by building your own, see Building) and adding it to your package manager. Use the file ending in arm.deb for rootful jailbreaks, and the file ending in arm64.deb for rootless jailbreaks (rootful support is not tested).

Jailed

Note

TrollStore may display an encryption warning, which you can disregard.

  • Download and install Bunny.ipa using your preferred sideloading method.

Building

Instructions

These steps assume you use macOS.

  1. Install Xcode from the App Store. If you've previously installed the Command Line Utilities package, you will need to run sudo 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, run sudo xcode-select -switch /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

  1. 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.

  2. Setup your path accordingly. We recommend you run the following before running the next commands, as well as any time you want to build BunnyTweak.

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"
  1. 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.

  1. Clone this repository with git clone [email protected]:pyoncord/BunnyTweak.git and cd into it. Replace the URL with your fork if you've forked this repository.

  2. To build BunnyTweak, 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 the arm.deb ending), and the fourth will build the rootless package (which is denoted by the arm64.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.

Contributors

Contributors

About

A tweak to inject Bunny, a mod for Discord's mobile apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 50.6%
  • Logos 25.6%
  • C 22.5%
  • Makefile 1.1%
  • JavaScript 0.2%