Contributing
Testing
Section titled “Testing”- Test the latest changes to WinUtil by running the pre-release and reporting issues you are encountering to help us continually improve WinUtil!
Run the latest pre-release
Section titled “Run the latest pre-release”irm https://christitus.com/windev | iexIssues
Section titled “Issues”- If you encounter any challenges or problems with the script, I kindly request that you submit them via the “Issues” tab on the GitHub repository. By filling out the provided template, you can provide specific details about the issue, allowing me (and others in the community) to promptly address any bugs or consider feature requests.
Contribute Code
Section titled “Contribute Code”-
Pull requests are now handled directly on the MAIN branch. This was done since we can now select specific releases to launch via releases in GitHub.
-
If you’re doing code changes, then you can submit a PR to the
mainbranch.
-
When creating pull requests, it is essential to thoroughly document all changes made. This includes, but is not limited to, documenting any additions made to the
tweakssection and correspondingundo tweak, so users are able to remove the newly added tweaks if necessary, and comprehensive documentation is required for all code changes. Document your changes and briefly explain why you made your changes in your Pull Request Description. Failure to adhere to this format may result in the denial of the pull request. Additionally, any code lacking sufficient documentation may also be denied. -
By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains organized and well-documented.
Walk through
Section titled “Walk through”- This is a guide for beginners. If you are still having issues, look at the following official GitHub documentation:
Overview
Section titled “Overview”%%{init: {"flowchart": {"curve": "cardinal"}} }%%graph TD A[Fork Project] --> B[Clone Repository]; B --> C[Create New Branch]; C --> D[Make Changes]; D --> G[Test Changes]; G --> H{Tests Passed?}; H -->|Yes| E[Commit Changes]; H -->|No| J[Fix Issues]; J --> G; E --> F[Push Branch]; F --> K[Create Pull Request]; K --> L[Fill out PR template]; classDef default stroke:#333,stroke-width:4px,font-size:12pt;Fork the Repo
Section titled “Fork the Repo”- Fork the WinUtil Repository here to create a copy that will be available in your repository list.

Clone the Fork
Section titled “Clone the Fork”-
Install GitHub Desktop if it is not already installed.
-
Log in using the same GitHub account you used to fork WinUtil.
-
Choose the fork under “Your Repositories” and press “clone
{repo name}” -
Create a new branch and name it something relatable to your changes.
-
Now you can modify WinUtil to your liking using your preferred text editor.
Testing your changes
Section titled “Testing your changes”-
To test to see if your changes work as intended, run the following commands in a PowerShell terminal as admin:
-
Change the directory where you are running the commands to the forked project.
-
cd {path to the folder with the compile.ps1} -
Run the following command to compile and run WinUtil:
-
.\Compile.ps1 -run

- After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
Committing the changes
Section titled “Committing the changes”- Before committing your changes, please discard changes made to the
winutil.ps1file, like the following:

- Now, commit your changes once you are happy with the result.

- Push the changes to upload them to your fork on GitHub.

Making a PR
Section titled “Making a PR”- To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is no WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the “/windev” build.
- If you do not see your feature in the main “/win” build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
- Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
