0.0.1 • Published 3 years ago

subpatches v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

License

MIT