konachan-patch
v0.1.0
Published
Patch plugin to overwrite koishi-plugin-booru-konachan's lib/index.js with a patched version.
Readme
konachan-patch
This Koishi plugin patches the installed koishi-plugin-booru-konachan by replacing its lib/index.js with a bundled patched version.
How it works
- On Koishi
readyevent the plugin locateskoishi-plugin-booru-konachanviarequire.resolve. - It backs up the original
lib/index.jstolib/index.js.bak-<timestamp>. - It writes the bundled
patched/index.jscontent intolib/index.js.
Commands
konachan-patch.rollback— restore the most recent backup.
Notes
- This is a local patch helper. If you reinstall or update
koishi-plugin-booru-konachanvia npm, the change will be overwritten. Consider contributing the change upstream or maintaining this patch plugin as part of your project.
