Patch Discord for iOS's JavaScript bundles to make modifications
This project is in a VERY early state. Do not expect any support.
Your device must be jailbroken.
- Configure .env with information for your device
- Use Filza to determine the path for your Discord.app (important!). This may be different on every device.
- Run
yarn pull
to pull the main.jsbundle and manifest.json - Run
yarn debundle
to debundle the jsbundle and output to theout/
directory - Make your changes
- Run
yarn rebundle
to rebundle the modified source and output to thedist/
directory - Run
yarn push
to push your updated jsbundle to the device - Kill Discord in the app switcher
- Launch and see your modifications
- patch IPA/bundle updater to change domain from dl.discordapp.net to a host to serve patched bundles/manifests