No description
Find a file
2024-12-08 13:41:19 +01:00
patches Init 2024-12-08 13:41:19 +01:00
apply.go Init 2024-12-08 13:41:19 +01:00
README.md Init 2024-12-08 13:41:19 +01:00

Logo

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

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