Repository navigation
Home
Windhawk lets you customize Windows and the programs that run on it with mods. A mod is a single C++ file. Windhawk compiles it and loads it into the processes it targets, where it changes their behavior, usually by hooking functions.
The mods in the Windhawk catalog come from this repository, and anyone can submit one. This wiki covers submitting mods and updates. For writing a mod, see the Windhawk wiki, starting with Creating a new mod.
Pages:
- Submission checklist - things that often come up in reviews.
- Overlap with existing mods - what to do if a similar mod is already in the catalog.
- Write and test the mod in Windhawk. See Creating a new mod.
- Search the catalog for similar mods. If there is one, read Overlap with existing mods first.
- Go through the Submission checklist.
- Open a pull request that adds a single file,
mods/<mod-id>.wh.cpp, where<mod-id>is the mod's@id.-
@githubmust be the GitHub profile of the account that opens the pull request. -
@twitteris optional. If you set it, you must own the account, and the CI check explains how to verify it. - Without
@license, the mod is submitted under the MIT license. If you use third-party code, specifying the right license is your responsibility. - Keep the pull request template and fill in its "Mod authorship" section.
-
- Get the pull request reviewed: comment
/ai-review, fix what it finds, and repeat until you're happy with the result. Then comment/ready-for-reviewerto hand it over to a human reviewer. See Mod submission review process.
Choose the mod id carefully: it can't be changed after the mod is submitted.
- Open a new pull request that changes only
mods/<mod-id>.wh.cpp. - Increase
@version. - Write the changelog in the pull request description, between the
<!-- changelog:start -->and<!-- changelog:end -->markers of the template. It's published as the mod's changelog, so write it for users: a list of what changed since the released version. - Use the same review process as for a new mod:
/ai-review, then/ready-for-reviewer.
A merged pull request can't take more changes. For the next update, open a new one.
Each mod has a single author: the person who submitted it, whose GitHub profile is in @github. Only the author can submit updates to the mod, and the CI check verifies that the pull request comes from that GitHub account. If others contributed, credit them in the readme, not in @author.
If you renamed your GitHub account, mention it in the pull request. The records are updated manually.
To change a mod that isn't yours:
- Offer the change to its author. Open an issue in this repository with the feature request or bug report template and tag the author, or open a pull request in the author's own repository if they develop the mod there. The author then submits the update.
- If the author declines or doesn't reply, you can submit your version as a new mod. See Overlap with existing mods for the conditions.
- Fork this repository.
- In your fork, create a branch and add or edit the mod file. You can do it in git or in the browser. Use a separate branch for each pull request.
-
Create a pull request from your fork to the
mainbranch of this repository.
To change an open pull request, push more commits to its branch. Don't open a new pull request for each change. If a pull request isn't ready for review, convert it to a draft.