Commit graph

128 commits

Author SHA1 Message Date
df116ed6bf Add Trivy vulnerability scan workflow
Some checks failed
Trivy Vulnerability Scan / trivy (push) Failing after 30s
SonarQube Scan / sonarqube (push) Successful in 1m10s
2026-08-21 10:11:55 -04:00
f80fed8f42 Add SonarQube scan workflow
Some checks failed
SonarQube Scan / sonarqube (push) Has been cancelled
2026-08-21 10:00:59 -04:00
Rosie Val
c452e52809
Merge pull request #1 from everestmcarthur/ios-parity-audit
Ios parity audit
2026-08-03 10:14:17 -04:00
0044c2c12a fix: replace speculative Bridgeless hook with RainTweak's verified approach
The RCTInstance/-_loadScriptFromSource: + fake-RCTSource hook from the
previous commit was a plausible guess from RN's public source, but
codeberg.org/raincord/RainTweak - an actively-shipping loader for a sibling
Revenge/Bunny fork - proves both the Bridgeless diagnosis correct (its %ctor
refuses to run below Discord v332, i.e. pre-Bridgeless) and shows a cleaner,
verified mechanism: hook RCTHost/-instance:didInitializeRuntime:, let
Discord's own bundle load untouched via %orig, then evaluate Revenge's
scripts directly against the live JSI runtime instead of faking another
bundle load.

- Add Headers/JSI.h + Sources/JSI.mm (ported from RainTweak's JSI.mm):
  evaluates NSData as JS or Hermes bytecode directly against a
  facebook::jsi::Runtime.
- Add Headers/RCTHost.h declaring the hook target's signature (RN ships no
  public header for this internal class).
- Vendor Headers/jsi/{jsi.h,jsi-inl.h,instrumentation.h} - Meta's MIT-licensed
  JSI headers, which Theos doesn't provide; RainTweak vendors the same files.
- Rewrite Tweak.x -> Tweak.xm (needs C++ for jsi::Runtime&): runRevengeInjection
  now takes a plain data/async execute callback, driven by either the new
  RCTHost+JSI hook or the legacy RCTCxxBridge hook (kept as a no-cost
  fallback), guarded by a didInject flag so only one path actually injects.
- Makefile: build .xm/.mm sources, add -std=c++17 CCFLAGS matching RainTweak.

Still unverified against a real device, but the mechanism itself is no longer
a guess - it's the one running in a comparable, currently-shipping mod.
2026-08-03 10:10:32 -04:00
dba11af542 fix: restore compilability and add Bridgeless-mode injection hook
- Fix BunnyLog compile error in Sideloading.x (leftover from Bunny->Revenge
  rename; only RevengeLog is defined)
- Remove duplicated -loadConfig/+defaultConfig methods in LoaderConfig.m
- Repoint CI's ipa-patcher download at a live mirror with a pinned checksum
  (Cristiandis/ipa-patcher was deleted upstream)
- Add a second injection hook on RCTInstance/-_loadScriptFromSource: for
  React Native's Bridgeless mode, alongside the existing RCTCxxBridge hook.
  Discord's Android build already runs Bridgeless (confirmed via
  revenge-xposed's hook targets) and revenge-bundle now pins RN 0.81, which
  defaults to it - so the legacy bridge hook this tweak relied on was very
  likely dead. Unverified against a real device; see AUDIT.md.

See AUDIT.md for the full iOS-vs-Android comparison and remaining gaps.
2026-08-03 09:46:46 -04:00
Palm
35ad28b910
fix: loader config and rebase upstream (#7) 2024-11-16 03:38:54 +07:00
Cristiandis
bf11700709
bump version 2024-11-15 18:50:13 +01:00
pylix
501c161bbe Merge pull request #22 from castdrian/fix-loader-config
fix: loader config oversight
2024-11-15 18:42:04 +01:00
Adrian Castro
8c3447958a fix: git moment 2024-11-15 18:36:17 +01:00
pylix
3bdbb33efe Merge pull request #21 from castdrian/objc-rewrite
feat: improved sideloading hooks
2024-11-15 18:36:17 +01:00
Adrian Castro
3d86fe0f75 fix: fix loader config 2024-11-15 18:36:17 +01:00
Adrian Castro
e5fdfbf00c chore: set gnu make path 2024-11-15 18:34:59 +01:00
Adrian Castro
1c606bfc11 feat: improved sideloading hooks 2024-11-15 18:34:59 +01:00
github-actions
24d61d8dad chore: update app-repo.json 2024-11-15 13:43:38 +00:00
Palm
eeb12659af
chore: merge from upstream (#6)
Co-authored-by: pylix <82711525+pylixonly@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Castro <22133246+castdrian@users.noreply.github.com>
2024-11-15 20:36:10 +07:00
Cristiandis
ecfe3647cb
change ipa-patcher to revenge 2024-11-15 12:02:20 +01:00
Cristiandis
3f5723ea20 Change bunny to revenge 2024-11-15 11:45:12 +01:00
Cristiandis
051816832e fix conflicts 2024-11-15 11:37:57 +01:00
Cristiandis
0a9bfdbce3 update bunny.plist and makefile 2024-11-15 11:17:44 +01:00
Cristiandis
0effa1ae25 rebase from upstream 2024-11-15 09:47:28 +01:00
pylix
0ddeccfcfe
Merge pull request #20 from castdrian/objc-rewrite
refactor: rewrite to objc and logos
2024-11-15 14:14:13 +08:00
Adrian Castro
bdf3792be9
feat: finish font impl 2024-11-14 22:50:08 +01:00
Adrian Castro
c568969333
feat: rewrite from orion to logos 2024-11-14 19:33:19 +01:00
pylixonly
a71b1b9a7d fix(ci): properly check release condition
https://github.com/actions/runner/issues/1483
2024-11-09 16:29:20 +08:00
pylixonly
0b929c9bf0 refactor: merge workflow scripts 2024-11-09 15:21:00 +08:00
pylixonly
82e3c078dd chore: bump ver to 0.3.2
for testing
2024-11-09 14:50:47 +08:00
pylix
d177bc57fb chore: meddling with patcher 2024-11-09 14:50:47 +08:00
github-actions
2528e53866 chore: update app-repo.json 2024-10-20 18:10:10 +00:00
Cristiandis
f613fd80a1
fix: update bundle link and add branding changes (#4)
Co-authored-by: Palm <git@palmdevs.me>
2024-10-21 01:01:26 +07:00
github-actions
e3f70ea75f chore: update app-repo.json 2024-10-17 11:37:34 +00:00
github-actions
586861569e chore: update app-repo.json 2024-09-20 15:27:22 +00:00
pylix
7c1e53ab1d feat: add some flags for pyzule 2024-09-20 15:09:05 +00:00
pylix
c0889328cc Revert "feat: swap pyzule for cyan
"

This reverts commit b0793740f5.
2024-09-20 14:29:40 +00:00
github-actions
8eec8a761c chore: update app-repo.json 2024-09-18 00:07:17 +00:00
pylix
b0793740f5
feat: swap pyzule for cyan
and pass some additional flags
2024-09-18 07:51:38 +08:00
github-actions
cd84e583e0 chore: update app-repo.json 2024-09-15 21:22:50 +00:00
cool
a7c95b6d8d
ci: swap pyzule for cyan (#3) 2024-09-16 00:18:04 +03:00
Cristiandis
74e74200ee
ci: implement fix for altstore and trollstore for release.yml 2024-09-15 21:33:39 +02:00
Cristiandis
d5f4085afd
ci: implement fix for altstore and trollstore on build.yml 2024-09-15 21:33:08 +02:00
Cristiandis
04e4543afa
ci: swap pyzule for cyan in release.yml too 2024-09-15 21:11:56 +02:00
Cristiandis
b3c598c219
ci: swap pyzule for cyan 2024-09-15 21:01:52 +02:00
Cristiandis
0c69adf534
docs: Fix image links for buttons (#2) 2024-09-15 00:37:17 +02:00
Palm
908949ad3a
fix: remove duplicate version object 2024-09-15 04:23:18 +07:00
github-actions
ddece2b047 chore: update app-repo.json 2024-09-14 21:17:47 +00:00
Cristiandis
d21801c05e
feat: change to support Revenge
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Palm <git@palmdevs.me>
2024-09-15 04:09:09 +07:00
github-actions
c6e9b31037 chore: update app-repo.json 2024-09-14 16:40:38 +00:00
github-actions
88fc495600 chore: update app-repo.json 2024-07-13 08:09:33 +00:00
Adrian Castro
5a780eb17b
chore: remove manual orion stuff (#12)
Co-authored-by: Adrian Castro <castdrian@users.noreply.github.com>
2024-07-03 18:46:00 +08:00
Adrian Castro
f42db38302
refactor: fix gh cli exit code 1 & use pyzule instead of azule and patcher (#11)
* feat: use pyzule instead of azule

* fix: gh cli throws and exits workflow

* fix: gh cli throws and exits workflow

* feat: get rid of go patcher

* chore: cleanup

* chore: adjust

* chore: cleanup

* chore: trollstore deep link

* chore: add trollstore deep link

* chore: improvement

* chore: additional useful information

* chore: grammar

* chore: cleanup
2024-07-01 19:03:13 +08:00
github-actions
3b37dcec64 chore: update app-repo.json 2024-06-27 17:53:23 +00:00