From f613fd80a195ae8edb1d9db32c20da48b1877964 Mon Sep 17 00:00:00 2001 From: Cristiandis <112336919+Cristiandis@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:01:26 +0200 Subject: [PATCH] fix: update bundle link and add branding changes (#4) Co-authored-by: Palm --- README.md | 56 +++++++++++++++++++---- Sources/RevengeTweak/Tweak.x.swift | 2 +- app-repo.json | 4 +- assets/logo/logo-dark.svg | 4 ++ assets/logo/logo-light.svg | 4 ++ assets/wordmark/wordmark+slogan-dark.svg | 6 +++ assets/wordmark/wordmark+slogan-light.svg | 6 +++ control | 4 +- 8 files changed, 72 insertions(+), 14 deletions(-) create mode 100644 assets/logo/logo-dark.svg create mode 100644 assets/logo/logo-light.svg create mode 100644 assets/wordmark/wordmark+slogan-dark.svg create mode 100644 assets/wordmark/wordmark+slogan-light.svg diff --git a/README.md b/README.md index 43bea02..64ef504 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,44 @@ -# RevengeTweak +

+ + + + +
+ + + + + +        + + + + + +        + + + + + +        -Tweak to inject [Revenge](https://github.com/revenge-mod/Revenge) into Discord. Forked [BunnyTweak](https://github.com/pyoncord/BunnyTweak), modified to match with [RevengeXposed](https://github.com/revenge-mod/RevengeXposed) behavior. There are still slight differences between these two, and this tweak may be missing some loader features. + +

+ +# 💊 RevengeTweak + +![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/revenge-mod/revenge-tweak/release.yml) +![Open Software License 3](https://img.shields.io/badge/License-OSL%20v3-yellow.svg) + +Tweak to inject [Revenge](https://github.com/revenge-mod/Revenge) into Discord. Forked [BunnyTweak](https://github.com/pyoncord/BunnyTweak), modified to match with [RevengeXposed](https://github.com/revenge-mod/Revenge-xposed) 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 \ @@ -8,9 +46,9 @@ Tweak to inject [Revenge](https://github.com/revenge-mod/Revenge) into Discord. > - setAlternateAppIcon does not work, thus breaking dynamic app icons > - sharing files to the application/selecting items via the Files app does not work -## Installation +## 🔽 Installation -Builds can be found in the [Releases](https://github.com/revenge-mod/RevengeTweak/releases/latest) tab. +Builds can be found in the [Releases](https://github.com/revenge-mod/revenge-tweak/releases/latest) tab. > [!NOTE] > Raw decrypted IPAs which are used to provide prepatched IPAs are sourced from the [Enmity](https://github.com/enmity-mod/) community. These raw decrypted IPAs are also used throughout Enmity related projects such as [enmity-mod/tweak](https://github.com/enmity-mod/tweak/) and [acquitelol/rosiecord](https://github.com/acquitelol/rosiecord).\ @@ -23,15 +61,15 @@ Builds can be found in the [Releases](https://github.com/revenge-mod/RevengeTwea ### Jailed - - + + > [!NOTE] > TrollStore may display an encryption warning, which you can disregard. -1. Download and install [Revenge.ipa](https://github.com/revenge-mod/RevengeTweak/releases/latest/download/Revenge.ipa) using your preferred sideloading method. +1. Download and install [Revenge.ipa](https://github.com/revenge-mod/revenge-tweak/releases/latest/download/Revenge.ipa) using your preferred sideloading method. -## Building RevengeTweak locally +## 🛠️ Building RevengeTweak locally > [!NOTE] > These steps assume you use MacOS. @@ -66,7 +104,7 @@ The first time you run this, it might take a bit longer, but subsequent builds s 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. -## Contributing +## 📙 Contributing If you want to contribute, you will basically need to follow the steps for [Building RevengeTweak locally](#building-revengetweak-locally), as well as run `make spm` for the Swift LSP to work. diff --git a/Sources/RevengeTweak/Tweak.x.swift b/Sources/RevengeTweak/Tweak.x.swift index 85aa2d8..642b791 100644 --- a/Sources/RevengeTweak/Tweak.x.swift +++ b/Sources/RevengeTweak/Tweak.x.swift @@ -53,7 +53,7 @@ class LoadHook: ClassHook { bundleUrl = loaderConfig.customLoadUrl.url } else { bundleUrl = URL( - string: "https://github.com/revenge-mod/Revenge/releases/latest/download/revenge.js")! + string: "https://github.com/revenge-mod/revenge-bundle/releases/latest/download/revenge.min.js")! } os_log("Fetching JS bundle", log: revengeLog, type: .info) diff --git a/app-repo.json b/app-repo.json index eaaef63..b54ab5f 100644 --- a/app-repo.json +++ b/app-repo.json @@ -1,13 +1,13 @@ { "name": "Revenge App Repo", "identifier": "io.github.revenge-mod.repo", - "iconURL": "https://cdn.discordapp.com/attachments/1205207690352005243/1284228073415249950/icon-altstore.png?ex=66e5de18&is=66e48c98&hm=737f59f228f7d887881fff1fcb6d8b08258b91c3c0d4df8501dfc499b51d870d&", + "iconURL": "https://avatars.githubusercontent.com/u/159218871?s=200&v=4", "apps": [ { "name": "Revenge", "bundleIdentifier": "com.hammerandchisel.discord", "developerName": "Cristiandis", - "iconURL": "https://cdn.discordapp.com/attachments/1205207690352005243/1284228073415249950/icon-altstore.png?ex=66e5de18&is=66e48c98&hm=737f59f228f7d887881fff1fcb6d8b08258b91c3c0d4df8501dfc499b51d870d&", + "iconURL": "https://avatars.githubusercontent.com/u/159218871?s=200&v=4", "localizedDescription": "A client mod for Discord", "subtitle": "A client mod for Discord", "tintColor": "7289da", diff --git a/assets/logo/logo-dark.svg b/assets/logo/logo-dark.svg new file mode 100644 index 0000000..cb34519 --- /dev/null +++ b/assets/logo/logo-dark.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/logo/logo-light.svg b/assets/logo/logo-light.svg new file mode 100644 index 0000000..b16e22f --- /dev/null +++ b/assets/logo/logo-light.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/wordmark/wordmark+slogan-dark.svg b/assets/wordmark/wordmark+slogan-dark.svg new file mode 100644 index 0000000..2f3c148 --- /dev/null +++ b/assets/wordmark/wordmark+slogan-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/wordmark/wordmark+slogan-light.svg b/assets/wordmark/wordmark+slogan-light.svg new file mode 100644 index 0000000..eefd512 --- /dev/null +++ b/assets/wordmark/wordmark+slogan-light.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/control b/control index ec95fac..c98928c 100644 --- a/control +++ b/control @@ -1,11 +1,11 @@ Package: io.github.revenge-mod.app Name: Revenge -Version: 0.0.1 +Version: 1.0.0 Architecture: iphoneos-arm Description: A mod for Discord's mobile apps. Maintainer: Cristiandis Author: Pylix, FieryFlames, Cristiandis -Icon: https://avatars.githubusercontent.com/u/132727175 +Icon: https://avatars.githubusercontent.com/u/159218871 Section: Tweaks Depends: ${ORION}, firmware (>= 13.0) Conflicts: app.enmity, mod.vendetta, mod.bunny