diff --git a/docs/build.md b/docs/build.md index d88df68..b4d1d1f 100644 --- a/docs/build.md +++ b/docs/build.md @@ -8,6 +8,7 @@ - [Windows](#dependencies-windows) - [Build Scripts](#build-scripts) - [Build in Docker](#build-docker) +- [Patch Update Process](#patch-update-process) ## Dependencies @@ -103,3 +104,14 @@ export npm_config_force_process_config="true" ./build.sh ``` + +## Patch Update Process + +- run `./build/build_.sh`, if a patch is failing then, +- open vscode directory in vscodium +- revert all changes +- run `git apply --reject ../patches/.patch` +- fix all the `*.rej` files +- run `yarn watch` +- run `./script/code.sh` until everything ok +- run `git diff > ../patches/.patch`