subpatches
v0.0.1
Published
The solution to make patches
Downloads
2
Readme
subpatches
Installing
yarn global add subpatches
# or
npm install -g subpatches
Introduction
The subpatches
workflow is based on the
Electron patching system,
you need to have a directory with patches, config.json
inside them, and
directories with patches itself.
patches
├── config.json <-- this describes which patchset directory is applied to what project
├── project-neutron
│ ├── .patches
│ ├── accelerator.patch
│ ├── add_contentgpuclient_precreatemessageloop_callback.patch
│ ⋮
├── gf
│ ├── .patches
│ ├── add_a_something_special.patch
│ ⋮
⋮
Usage
Applying all patches
# in root directory
$ subpatches apply -c patches/config.json
Adding a new patch
$ cd directory/with/need/to/patch
# modify the code
$ git commit
$ subpatches -o ../patches/gf