No description
patches | ||
apply.go | ||
README.md |
Spitfire Patcher
This is a custom patcher for applying modifications to firefox source code. It processes patch files located in the `./patches` directory and applies them to files in a specified root path.
How to Use
-
Place your patch files in the
./patches
directory. Example of patch file:--- /browser/branding/official/configure.sh +++ /browser/branding/official/configure.sh -MOZ_APP_DISPLAYNAME=Firefox +MOZ_APP_DISPLAYNAME=Spitfire
-
Run the patcher with the
--path
flag:go run patch.go --path=./mozilla-central
Root path will be resolved to an absolute path, and patches will be applied relative to this path.