aclist / kbin-kes

Add-on manager and scripting framework for kbin
MIT License
24 stars 8 forks source link

Chore: update precommit hook to insert URLs and mod names #47

Closed aclist closed 1 year ago

aclist commented 1 year ago

Update the maintainer's precommit hook so that mod authors don't have to update megamod.user.js at all with @requiresor touch the funcObj. The author can just:

When making the PR:

The hook will be responsible for updating megamod.user.js with the correct path to the resource and updating the funcObj. This should reduce the problem of having the wrong URLs or names making their way into the PR and ensure that after the mod is tested and approved, the resources are updated programmatically, along with the version bump, for one unified change.

aclist commented 1 year ago

Resolved by 85060d43fdc7f12a02d6e9a04c1248dedfbff9ee