Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15b31634e3 | ||
|
|
157a66b14d | ||
|
|
9791386f53 | ||
|
|
c8e756dc11 | ||
|
|
9e21c8f4a7 | ||
|
|
8cd8679512 | ||
|
|
ac11c73b64 | ||
|
|
9d67514bf9 | ||
|
|
fea9f4e869 | ||
|
|
1aa0dd90ef | ||
|
|
90a19685f5 | ||
|
|
007995c112 | ||
|
|
0dcd361c51 | ||
|
|
aeaef46e30 | ||
|
|
e0dfeb4f4d | ||
|
|
1c7ee06bbe | ||
|
|
ed6de94c46 | ||
|
|
640b02868a | ||
|
|
29b269201d | ||
|
|
9fed8d1c4c | ||
|
|
4ae3549b8a | ||
|
|
e72ac75d13 | ||
|
|
9846dd7b49 | ||
|
|
466d32e690 | ||
|
|
dce1536be0 | ||
|
|
894d62ca68 | ||
|
|
27e590577b | ||
|
|
8147903ff2 | ||
|
|
7a72c73906 | ||
|
|
32891ada55 | ||
|
|
e2d6f8534e | ||
|
|
299b68e82d | ||
|
|
de6652adc0 | ||
|
|
727ba52a4d | ||
|
|
d45c62e470 | ||
|
|
492d5b57d7 | ||
|
|
58d37bb461 | ||
|
|
b72bfb03ba | ||
|
|
cc2be2d5e8 | ||
|
|
93dc23dd66 | ||
|
|
916dc761ba | ||
|
|
2cb20893fc | ||
|
|
c3b4f85fce | ||
|
|
104c763132 | ||
|
|
8062815655 | ||
|
|
58be808823 | ||
|
|
77dc64cbea | ||
|
|
72d47ba020 | ||
|
|
b6b479685a | ||
|
|
c7dfbeb7fe | ||
|
|
7c71a39f7a | ||
|
|
0c42b9e458 | ||
|
|
26f89adf95 | ||
|
|
5003f14e0a | ||
|
|
8b6098b36a | ||
|
|
1f0756336f | ||
|
|
0f39648de6 | ||
|
|
7f0d2183e3 | ||
|
|
6ae24d071d | ||
|
|
af900dab3a | ||
|
|
31425a5520 | ||
|
|
47f06e34e3 | ||
|
|
ae4c787545 | ||
|
|
b2a258a45f | ||
|
|
d7cc5981e0 | ||
|
|
9bfba35788 | ||
|
|
51d7350e35 | ||
|
|
652ea6368c | ||
|
|
57be85b566 | ||
|
|
376156f072 | ||
|
|
cc40fdf42a | ||
|
|
1b8a834d5d | ||
|
|
7ffb396786 | ||
|
|
1d4fa15f7e | ||
|
|
aefbf1a847 | ||
|
|
edca5207ec | ||
|
|
3307e88f2c | ||
|
|
36dc2e73ff | ||
|
|
c5ed3a9773 | ||
|
|
d268bb721b | ||
|
|
b9e324b01a | ||
|
|
910c9f698c | ||
|
|
dbab51061d | ||
|
|
8eadd527ad | ||
|
|
7745364e66 | ||
|
|
ac0982f9f5 | ||
|
|
298542e4f7 | ||
|
|
9d75eadf16 | ||
|
|
36f39091ec | ||
|
|
58a81b106c | ||
|
|
a280ddb1fa | ||
|
|
01c0e999c1 | ||
|
|
5efef2c0f3 | ||
|
|
ea1cff0724 | ||
|
|
09569162a1 | ||
|
|
bced250ae1 | ||
|
|
80aa6af30a | ||
|
|
5a233b3422 | ||
|
|
01ef78915a | ||
|
|
7dfebba70f | ||
|
|
0a018e0405 | ||
|
|
e50621a9dc | ||
|
|
3ef100a083 | ||
|
|
eebb56ac5a | ||
|
|
daf045390d | ||
|
|
6214012fd1 | ||
|
|
297b3079e5 | ||
|
|
9fdf944ef9 | ||
|
|
6b5a9bcb9b | ||
|
|
e4d305284b | ||
|
|
78593cc58d | ||
|
|
e83033a122 | ||
|
|
5832f0df81 | ||
|
|
26f3284919 | ||
|
|
1f8455e90d | ||
|
|
62c43e6e82 | ||
|
|
a1949ed917 | ||
|
|
74a3ddad1c | ||
|
|
d7b0389a93 | ||
|
|
23f197b644 | ||
|
|
b2eeda9eb2 | ||
|
|
ceec8aeb53 | ||
|
|
6b125346cd | ||
|
|
5f8e493536 | ||
|
|
4db0248911 | ||
|
|
2bee0d6f2c | ||
|
|
58df36841f | ||
|
|
5ba840f87f | ||
|
|
fe2dd829b8 | ||
|
|
5cdb6c6e22 | ||
|
|
4bda00ec2d | ||
|
|
462cc40a6a | ||
|
|
0e061692ba | ||
|
|
ffec7a8a8f | ||
|
|
6e4b1d26c6 | ||
|
|
32cec06ed6 | ||
|
|
a24193ce18 | ||
|
|
8f919be14b | ||
|
|
ad5d103df9 | ||
|
|
b5160d9e24 | ||
|
|
614eb949db | ||
|
|
d1edd5b2ba | ||
|
|
333937d2fa | ||
|
|
3ca87648b4 | ||
|
|
4894a545f0 | ||
|
|
9f55bced01 | ||
|
|
56e0541113 | ||
|
|
7607b92e21 | ||
|
|
153900a77b | ||
|
|
691224f465 | ||
|
|
893dca4055 | ||
|
|
2ebc9bd6c4 | ||
|
|
076ef02b2c | ||
|
|
c99114e9e1 | ||
|
|
9b72c1e2de | ||
|
|
b379574574 | ||
|
|
565597a906 | ||
|
|
62ccf80856 | ||
|
|
70cdacb9f9 | ||
|
|
459d0fd1b2 | ||
|
|
48e94f71bc | ||
|
|
2582f094ff | ||
|
|
5aa099f6e2 | ||
|
|
9d85eea4e5 | ||
|
|
c765ffb317 | ||
|
|
82f51b4bf1 | ||
|
|
d44c013464 | ||
|
|
753d47b9bc | ||
|
|
8034e85521 | ||
|
|
a09736f9a8 | ||
|
|
24aaf9a3cf | ||
|
|
f57b5f4ffa | ||
|
|
32d24c8024 | ||
|
|
743f9e3783 | ||
|
|
522c4471c0 | ||
|
|
ea698f3791 | ||
|
|
8ffd15c9f3 | ||
|
|
6c1cb0caab | ||
|
|
bcafbe6234 | ||
|
|
fb54380b8b | ||
|
|
39f26133f4 | ||
|
|
09695f10aa | ||
|
|
d1becc5310 | ||
|
|
543b8958ef | ||
|
|
c39c54c7c1 | ||
|
|
d8193fd8ac | ||
|
|
25adabd622 | ||
|
|
2d605f1875 | ||
|
|
d46d324df8 | ||
|
|
3e16817640 | ||
|
|
d0b91d190a | ||
|
|
bdbfdb6681 | ||
|
|
0154b749a4 | ||
|
|
e6e44e3e04 | ||
|
|
e6d8fdff75 | ||
|
|
6ba184bdeb | ||
|
|
6d6defc206 | ||
|
|
fa073f8475 | ||
|
|
63aecc0bee | ||
|
|
a0887783f8 | ||
|
|
f3880b66bb | ||
|
|
aa636926fa | ||
|
|
ec3166bdc6 | ||
|
|
a3f57532b6 | ||
|
|
3a7851b0f4 | ||
|
|
6fa73db245 | ||
|
|
184fe22a35 | ||
|
|
9d4613d838 | ||
|
|
10d83c5b20 | ||
|
|
4065759ca0 | ||
|
|
97d5f7b850 | ||
|
|
bf542af426 | ||
|
|
ea9c7de722 | ||
|
|
d2e5886b02 | ||
|
|
d43c26e314 | ||
|
|
4297d69f2c | ||
|
|
36e4b27872 | ||
|
|
ec5c7a4639 | ||
|
|
f2ca10e8c9 | ||
|
|
51cf62cdba | ||
|
|
415d1864d7 | ||
|
|
b463d9d460 | ||
|
|
8fa354dec2 | ||
|
|
683f9ee811 | ||
|
|
31d3c29447 | ||
|
|
68aa6e31bd | ||
|
|
cdf8727911 | ||
|
|
21273bd3a8 | ||
|
|
67910df019 | ||
|
|
dee694b166 | ||
|
|
87a5779f0b | ||
|
|
9d777842f7 | ||
|
|
99b7d94b08 | ||
|
|
f31e5eb2ac | ||
|
|
a8efcc9c96 | ||
|
|
747b6f8ca1 | ||
|
|
26959b0e63 | ||
|
|
c5fc9490a8 | ||
|
|
5902b0bd64 | ||
|
|
5dc8547dad | ||
|
|
d736bc4305 | ||
|
|
a4d0f36ed5 | ||
|
|
e1e077c69b | ||
|
|
8e2dc21823 | ||
|
|
8378fd5377 | ||
|
|
eb08eae357 | ||
|
|
4783e71750 | ||
|
|
805a004a3a | ||
|
|
780ea84e9e | ||
|
|
f47dcb01d2 | ||
|
|
4ab1681eb8 | ||
|
|
ed6ee897d5 | ||
|
|
5516be2464 | ||
|
|
9f972fdac1 | ||
|
|
c453f260cf | ||
|
|
98eba09986 | ||
|
|
61bce6afda | ||
|
|
419b150220 | ||
|
|
372fa0159a | ||
|
|
406d6fdfc4 | ||
|
|
e30c0a4c27 | ||
|
|
3d300f6634 | ||
|
|
a72c0770dd | ||
|
|
811cc126e6 | ||
|
|
3ceea1b9c1 | ||
|
|
0cd971d992 | ||
|
|
e077fc7e21 | ||
|
|
0abac833ce | ||
|
|
a0fdf2cb80 | ||
|
|
b8f1671ff7 | ||
|
|
0536047200 | ||
|
|
2a4bff017d | ||
|
|
68d6ca7edc | ||
|
|
00fbd0e86d | ||
|
|
c24ea5e53b | ||
|
|
786c7c677d | ||
|
|
c9e9214fd6 | ||
|
|
b7f6a8cebe | ||
|
|
355bd17b88 | ||
|
|
6198bb2cdd | ||
|
|
6a495411e8 | ||
|
|
8f830a59df | ||
|
|
e4dd305084 | ||
|
|
01c808ab42 | ||
|
|
d2c9bc8751 | ||
|
|
7f105a58bb | ||
|
|
838b0c1a1b | ||
|
|
e0118aabe5 | ||
|
|
9535302e6d | ||
|
|
1eba305fab | ||
|
|
74f990028f | ||
|
|
e94742a77d | ||
|
|
fb6ef49a83 | ||
|
|
ab00ff2710 | ||
|
|
50d8a8656b | ||
|
|
1cd918cbe1 | ||
|
|
bc2f6ce8f7 | ||
|
|
c1fe9c6b88 | ||
|
|
d0899b4f29 | ||
|
|
3c8459f31f | ||
|
|
0c38d420ee | ||
|
|
e63d75e398 | ||
|
|
01d24bdf31 | ||
|
|
12abc7f281 | ||
|
|
10906e037e | ||
|
|
b43a712e9b | ||
|
|
ed74dc51b5 | ||
|
|
6b83f1da51 | ||
|
|
24c6706ab2 | ||
|
|
f4703284ef | ||
|
|
0028e439b5 | ||
|
|
37529a5659 | ||
|
|
2dbf3d71c0 | ||
|
|
ef226ac272 | ||
|
|
1f7f653568 | ||
|
|
9bd5a2541d | ||
|
|
c2dbcda2d5 | ||
|
|
0bd333dd47 | ||
|
|
6188447348 | ||
|
|
edfed488e8 | ||
|
|
8d1f7d509a | ||
|
|
0a642be3b4 | ||
|
|
d3f9584892 | ||
|
|
a05034381d | ||
|
|
b1d4eb022c | ||
|
|
3dbd993cb4 | ||
|
|
ec17c085df | ||
|
|
7da4e78d4b | ||
|
|
1943b30ec9 | ||
|
|
6df8ae900c | ||
|
|
a16f4b7d07 | ||
|
|
adaab0ab36 | ||
|
|
c270d25460 | ||
|
|
2bb007b6ff | ||
|
|
34f29dd04c | ||
|
|
ccb43bfe91 | ||
|
|
1d401b2e02 | ||
|
|
d8f6a8c50b | ||
|
|
3da0221fb4 | ||
|
|
a30664002b | ||
|
|
5e78391518 | ||
|
|
2d2497408f | ||
|
|
d2dbf03572 | ||
|
|
88c68fd411 | ||
|
|
e82aaf03f0 | ||
|
|
9a77fed09b | ||
|
|
336ac6fb8f | ||
|
|
72ad35bbd8 | ||
|
|
df17ca4695 | ||
|
|
7f46e8d60d | ||
|
|
9769cafa7d | ||
|
|
42dfc8c82b | ||
|
|
d13295bdd8 | ||
|
|
5fc566b46f | ||
|
|
b493737982 | ||
|
|
7ceb303f00 | ||
|
|
30c9812d37 | ||
|
|
ddc10b0935 | ||
|
|
a2e2395ce9 | ||
|
|
ce5e407a76 | ||
|
|
3fb5c04693 | ||
|
|
58dacd5b0b | ||
|
|
14ad9f7fea | ||
|
|
52afab2252 |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Our Pledge
|
## Our Pledge
|
||||||
|
|
||||||
We as members, contributors, and leaders pledge to make participation in our
|
We, as members, contributors, and leaders, pledge to make participation in our
|
||||||
community a harassment-free experience for everyone, regardless of age, body
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
identity and expression, level of experience, education, socio-economic status,
|
identity and expression, level of experience, education, socio-economic status,
|
||||||
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
|
|||||||
### 4. Permanent Ban
|
### 4. Permanent Ban
|
||||||
|
|
||||||
**Community Impact**: Demonstrating a pattern of violation of community
|
**Community Impact**: Demonstrating a pattern of violation of community
|
||||||
standards, including sustained inappropriate behavior, harassment of an
|
standards, including sustained inappropriate behavior, harassment of an
|
||||||
individual, or aggression toward or disparagement of classes of individuals.
|
individual, or aggression toward or disparagement of classes of individuals.
|
||||||
|
|
||||||
**Consequence**: A permanent ban from any sort of public interaction within
|
**Consequence**: A permanent ban from any sort of public interaction within
|
||||||
|
|||||||
@@ -1,117 +1,149 @@
|
|||||||
# How to Contribute?
|
## Contributing Code
|
||||||
|
|
||||||
## Testing
|
### Before You Start
|
||||||
|
|
||||||
* Test the latest changes to WinUtil by running the pre-release and reporting issues you are encountering to help us continually improve WinUtil!
|
- Keep each pull request focused on a single feature or fix.
|
||||||
|
- Avoid unnecessary formatting changes or large unrelated edits.
|
||||||
|
- Document what changed and why in your PR description.
|
||||||
|
|
||||||
#### **Run the latest pre-release**
|
---
|
||||||
```ps1
|
|
||||||
irm https://christitus.com/windev | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
!!! bug "Keep in mind"
|
## Basic Git Workflow
|
||||||
|
|
||||||
This is a pre-release and should be treated as such. It exists for developers to test the utility and report or fix bugs before they get added to the stable release. Don't use it in production!
|
### 1. Fork the Repository
|
||||||
|
|
||||||
## Issues
|
Go to the ChrisTitusTech/winutil repository on GitHub and click the Fork button in the top right corner.
|
||||||
|
|
||||||
* 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.
|
<img width="171" height="50" alt="{650A4723-F38A-44A4-9820-D232BC87C8A0}" src="https://github.com/user-attachments/assets/a214f27c-2fee-444a-920f-d87b14f5896f" />
|
||||||
|
|
||||||
## 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.
|
### 2. Clone Your Fork
|
||||||
|
|
||||||
* If you're doing code changes, then you can submit a PR to `main` branch, but I am very selective about these.
|
```powershell
|
||||||
|
git clone https://github.com/YOUR_USERNAME/winutil.git
|
||||||
!!! warning "Important"
|
cd winutil
|
||||||
|
|
||||||
Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN PULL REQUEST!
|
|
||||||
|
|
||||||
* 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 `tweaks` section and corresponding `undo 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.
|
|
||||||
|
|
||||||
!!! note
|
|
||||||
|
|
||||||
When creating a function, please include "WPF" or "WinUtil" in the file name so it can be loaded into the runspace.
|
|
||||||
|
|
||||||
## Walk through
|
|
||||||
|
|
||||||
* This is a guide for beginners. If you are still having issues, look at the following official GitHub documentation:
|
|
||||||
* [Commit through WEB](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/about-commits)
|
|
||||||
* [Commit through GitHub Desktop](https://docs.github.com/en/desktop/making-changes-in-a-branch/committing-and-reviewing-changes-to-your-project-in-github-desktop#about-commits)
|
|
||||||
* [Create a Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
|
||||||
|
|
||||||
|
|
||||||
### Overview
|
|
||||||
|
|
||||||
``` mermaid
|
|
||||||
%%{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;
|
|
||||||
```
|
```
|
||||||
!!! info
|
|
||||||
|
|
||||||
This is a diagram to guide you through the process. It may vary depending on the type of change you're making.
|
---
|
||||||
|
|
||||||
### Fork the Repo
|
### 3. Create a Branch
|
||||||
* Fork the WinUtil Repository [here](https://github.com/ChrisTitusTech/winutil) to create a copy that will be available in your repository list.
|
|
||||||
|
|
||||||

|
Never work directly on `main`.
|
||||||
|
|
||||||

|
Create a branch related to your change:
|
||||||
|
|
||||||
### Clone the Fork
|
```powershell
|
||||||
!!! tip
|
git checkout -b feature-name
|
||||||
|
```
|
||||||
|
|
||||||
While you can make your changes directly through the Web, we recommend cloning the repo to your device using the application GitHub Desktop (available in WinUtil) to test your fork easily.
|
Example:
|
||||||
|
|
||||||
* Install GitHub Desktop if it is not already installed.
|
```powershell
|
||||||
* Log in using the same GitHub account you used to fork WinUtil.
|
git checkout -b add-firefox-tweak
|
||||||
* 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.
|
---
|
||||||
|
|
||||||
|
### 4. Edit the Code
|
||||||
|
|
||||||
### Testing your changes
|
Open the project in your preferred text editor and make your changes.
|
||||||
|
|
||||||
* To test to see if your changes work as intended run following commands in a powershell terminal as admin:
|
Keep changes small and focused.
|
||||||
|
|
||||||
* 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`
|
|
||||||
|
|
||||||

|
### 5. Test Your Changes
|
||||||
|
|
||||||
* 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.
|
Open Powershell as Administrator.
|
||||||
|
|
||||||
### Committing the changes
|
Go to the project folder:
|
||||||
* Before committing your changes, please discard changes made to the `winutil.ps1` file, like the following:
|
|
||||||
|
|
||||||

|
```powershell
|
||||||
|
cd path\to\winutil
|
||||||
|
```
|
||||||
|
|
||||||
* Now, commit your changes once you are happy with the result.
|
Run:
|
||||||
|
|
||||||

|
```powershell
|
||||||
|
.\Compile.ps1 -Run
|
||||||
|
```
|
||||||
|
|
||||||
* Push the changes to upload them to your fork on github.com.
|
Verify:
|
||||||
|
|
||||||

|
- WinUtil launches correctly
|
||||||
|
- Your feature works
|
||||||
|
- Nothing else breaks
|
||||||
|
|
||||||
### Making a PR
|
If something fails, fix it before committing.
|
||||||
* 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 not a 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.
|
|
||||||
|
### 6. Review Your Changes
|
||||||
|
|
||||||
|
Check what changed:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git status
|
||||||
|
```
|
||||||
|
|
||||||
|
Review the diff:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git diff
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure you did not accidentally modify unrelated files.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 7. Commit Your Changes
|
||||||
|
|
||||||
|
Stage files:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git add .
|
||||||
|
```
|
||||||
|
|
||||||
|
Commit them:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git commit -m "Add feature description"
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git commit -m "Add Firefox package tweak"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 8. Push Your Branch
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git push origin branch-name
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git push origin add-firefox-tweak
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 9. Open a Pull Request
|
||||||
|
|
||||||
|
Go to your fork on GitHub.
|
||||||
|
|
||||||
|
GitHub will show a button to create a pull request.
|
||||||
|
<img width="1009" height="71" alt="{C8C6A3CC-79D4-44FD-A54C-4C5717F12730}" src="https://github.com/user-attachments/assets/0419d193-d4e7-47c0-87cf-b986742201a0" />
|
||||||
|
|
||||||
|
Before submitting:
|
||||||
|
|
||||||
|
- Explain what changed
|
||||||
|
- Explain why you changed it
|
||||||
|
- Make sure unrelated files are not included
|
||||||
|
|
||||||
|
Once submitted, maintainers will review your PR.
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
title: "[App Suggestion] "
|
||||||
|
body:
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: "Application Link"
|
||||||
|
description: "Provide a link where this application can downloaded officially"
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: "Rules Checklist"
|
||||||
|
description: "You should agree with next rules"
|
||||||
|
options:
|
||||||
|
- label: "This application is popular enough, so is not considered as niche"
|
||||||
|
required: true
|
||||||
|
- label: "This application is not considered bloatware"
|
||||||
|
required: true
|
||||||
|
- label: "This application is free to access"
|
||||||
|
required: true
|
||||||
|
- label: "This application should be included on majority of fresh installed systems"
|
||||||
|
required: true
|
||||||
|
- label: "This application is present on WinGet (check winstall.app or do 'winget search your-app' in terminal)"
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: "Check for denied applications"
|
||||||
|
options:
|
||||||
|
- label: "Yes, I checked PRs, issues and discussions for existing suggestions and their result"
|
||||||
|
required: true
|
||||||
|
|
||||||
@@ -6,57 +6,55 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
# 🐞 **Issue Report**
|
- Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
|
||||||
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
- For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
|
||||||
- 🛠️ **Supported environments only:** We only support Windows 11.
|
|
||||||
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
|
id: read_issues
|
||||||
attributes:
|
attributes:
|
||||||
label: ⚙️ Issue Checklist
|
label: "I have read the known issues"
|
||||||
|
description: "You [better do](https://winutil.christitus.com/knownissues/), cause your issue can be already there"
|
||||||
options:
|
options:
|
||||||
- label: I have read the guidelines.
|
- label: Yes, I did
|
||||||
- label: I checked for duplicate issues.
|
required: true
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this issue.
|
- type: input
|
||||||
|
id: winutil_version
|
||||||
|
attributes:
|
||||||
|
label: "Version of WinUtil"
|
||||||
|
description: "Provide a version that you are using when issue submitted (it can be found in right corner of app)"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: input
|
- type: dropdown
|
||||||
id: affected_part
|
id: affected_part
|
||||||
attributes:
|
attributes:
|
||||||
label: 📜 What part of Winutil are you having issues with?
|
label: What part of WinUtil are you having issues with?
|
||||||
placeholder: "e.g., Tweaks, etc."
|
options:
|
||||||
|
- Program Install Tab
|
||||||
|
- Tweaks Tab
|
||||||
|
- Config Tab
|
||||||
|
- Updates Tab
|
||||||
|
- Win11 Creator Tab
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: issue_description
|
id: issue_description
|
||||||
attributes:
|
attributes:
|
||||||
label: 📝 Provide a clear and concise description of the issue.
|
label: Provide a clear and concise description of the issue.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: steps_to_reproduce
|
id: tweaks_applied
|
||||||
attributes:
|
attributes:
|
||||||
label: 🔄 Steps to reproduce the issue.
|
label: List the tweaks you applied before the issue occurred.
|
||||||
placeholder: "e.g., Step 1: ..., Step 2: ..."
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: error_output
|
id: error_output
|
||||||
attributes:
|
attributes:
|
||||||
label: ❌ Paste the full error output (if available).
|
label: Paste the full error output (if available) or Screenshot or Video.
|
||||||
placeholder: "Include any relevant logs or error messages."
|
placeholder: "Include any relevant logs or error messages."
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context.
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
@@ -2,4 +2,7 @@ blank_issues_enabled: false
|
|||||||
contact_links:
|
contact_links:
|
||||||
- name: 💻 Community Discord
|
- name: 💻 Community Discord
|
||||||
url: https://discord.gg/RUbZUZyByQ
|
url: https://discord.gg/RUbZUZyByQ
|
||||||
about: Join our Community Discord server to chat with other users in the Winutil community.
|
about: Join our Community Discord server to chat with other users in the WinUtil community.
|
||||||
|
- name: Suggest an application
|
||||||
|
url: https://github.com/ChrisTitusTech/winutil/discussions/new?category=app-suggestion
|
||||||
|
about: If you want to suggest an application to be added, create a discussion with given template
|
||||||
|
|||||||
@@ -11,47 +11,12 @@ body:
|
|||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
## ⚠️ **IMPORTANT**
|
||||||
- 🛠️ **Supported environments only:** We only support Windows 11.
|
- 🛠️ **Supported environments only:** We only support Windows 11.
|
||||||
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
- 💡 For general questions, use the [Discussions section](https://github.com/ChrisTitusTech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
- type: checkboxes
|
|
||||||
attributes:
|
|
||||||
label: ⚙️ Issue Checklist
|
|
||||||
options:
|
|
||||||
- label: I have read the guidelines.
|
|
||||||
- label: I checked for duplicate issues.
|
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this request.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: problem_statement
|
|
||||||
attributes:
|
|
||||||
label: ❓ Is your feature request related to a problem?
|
|
||||||
placeholder: "Provide a clear and concise description of the issue you're facing. Example: 'I'm always frustrated when [...]'"
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: proposed_solution
|
id: proposed_solution
|
||||||
attributes:
|
attributes:
|
||||||
label: 💡 Describe the solution you'd like
|
label: 💡 Describe the solution you'd like
|
||||||
placeholder: "Provide a clear and concise description of what you want to happen."
|
placeholder: "Provide a clear and concise description."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: alternatives
|
|
||||||
attributes:
|
|
||||||
label: 🔄 Describe alternatives you've considered
|
|
||||||
placeholder: "Provide details on any alternative solutions or features you've thought about."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<!--Before you make this PR have you followed the docs here? - https://winutil.christitus.com/contributing/ -->
|
<!--Before you make this PR have you followed the docs here? - https://winutil.christitus.com/contributing/ -->
|
||||||
|
<!--Documentation is auto-generated from configs - no manual documentation updates needed -->
|
||||||
|
|
||||||
## Type of Change
|
## Type of Change
|
||||||
- [ ] New feature
|
- [ ] New feature
|
||||||
- [ ] Bug fix
|
- [ ] Bug fix
|
||||||
- [ ] Documentation update
|
- [ ] Documentation update
|
||||||
|
- [ ] Refactor
|
||||||
- [ ] UI/UX improvement
|
- [ ] UI/UX improvement
|
||||||
|
|
||||||
<!-- This automatically adds labels to your PR based on the selections above. -->
|
<!-- This automatically adds labels to your PR based on the selections above. -->
|
||||||
|
|||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# Chris Titus Tech's Windows Utility
|
||||||
|
|
||||||
|
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
||||||
|

|
||||||
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
|
[](https://winutil.christitus.com/)
|
||||||
|
|
||||||
|
Questa utility è una raccolta di attività Windows che eseguo personalmente su ogni sistema che utilizzo. È progettata per snellire le *installazioni*, rimuovere i componenti superflui tramite *ottimizzazioni*, risolvere problemi tramite la *configurazione*, e riparare *aggiornamenti* di Windows. Sono estremamente selettivo riguardo ai contributi per mantenere questo progetto pulito ed efficiente.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 💡 Come usarlo
|
||||||
|
|
||||||
|
Winutil deve essere eseguito con privilegi di amministratore, poiché apporta modifiche all'intero sistema. Per farlo, avvia PowerShell come amministratore. Ecco alcuni modi per procedere:
|
||||||
|
|
||||||
|
1. **Metodo del menu di Start:**
|
||||||
|
- Fai clic con il tasto destro sul menu Start.
|
||||||
|
- Scegli "Windows PowerShell (esegui come Amministratore)" (per Windows 10) o "Terminale (esegui come Amministratore)" (per Windows 11).
|
||||||
|
|
||||||
|
2. **Metodo tramite ricerca:**
|
||||||
|
- Premi il tasto Windows.
|
||||||
|
- Digita "PowerShell" o "Terminal" (per Windows 11).
|
||||||
|
- Premi `Ctrl + Shift + Invio` oppure fai clic con il tasto destro e seleziona "Esegui come amministratore" per avviarlo con privilegi elevati.
|
||||||
|
|
||||||
|
### Comando di avvio
|
||||||
|
|
||||||
|
#### Branch stabile (Consigliato)
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
irm "https://christitus.com/win" | iex
|
||||||
|
```
|
||||||
|
#### Branch Sviluppatore
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
irm "https://christitus.com/windev" | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
### Automazione
|
||||||
|
|
||||||
|
Winutil supporta anche preset predefiniti che applicano automaticamente configurazioni comuni:
|
||||||
|
|
||||||
|
- `Standard`
|
||||||
|
- `Minimal`
|
||||||
|
- `Advanced`
|
||||||
|
|
||||||
|
Esempio:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
& ([ScriptBlock]::Create((irm "https://christitus.com/win"))) -Preset Standard
|
||||||
|
```
|
||||||
|
|
||||||
|
Per vedere esattamente cosa fa ogni preset, consulta:
|
||||||
|
https://github.com/ChrisTitusTech/winutil/blob/main/config/preset.json
|
||||||
|
|
||||||
|
In caso di problemi, consulta i [Problemi noti](https://winutil.christitus.com/knownissues/) o [Apri una segnalazione](https://github.com/ChrisTitusTech/winutil/issues)
|
||||||
|
|
||||||
|
## 🎓 Documentazione
|
||||||
|
|
||||||
|
### [Documentazione ufficiale di WinUtil](https://winutil.christitus.com/)
|
||||||
|
|
||||||
|
### [Tutorial su YouTube](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
||||||
|
|
||||||
|
### [Articolo su ChrisTitus.com](https://christitus.com/windows-tool/)
|
||||||
|
|
||||||
|
## 🛠️ Build & Sviluppo
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Winutil è uno script piuttosto esteso, per questo è suddiviso in più file che vengono combinati in un unico file `.ps1` tramite un compilatore personalizzato. Questo rende la manutenzione del progetto molto più semplice.
|
||||||
|
|
||||||
|
Ottieni una copia del codice sorgente. Puoi farlo tramite l'interfaccia di GitHub (**Code** > **Download ZIP**), oppure clonando (scaricando) la repo tramite git.
|
||||||
|
|
||||||
|
Se git è installato, esegui i seguenti comandi in una finestra PowerShell per clonare e accedere alla directory del progetto:
|
||||||
|
```ps1
|
||||||
|
git clone --depth 1 "https://github.com/ChrisTitusTech/winutil.git"
|
||||||
|
cd winutil
|
||||||
|
```
|
||||||
|
|
||||||
|
Per compilare il progetto, esegui lo script di compilazione in una finestra PowerShell (i permessi di amministratore NON sono richiesti):
|
||||||
|
```ps1
|
||||||
|
.\Compile.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
Troverai un nuovo file chiamato `winutil.ps1`, creato dallo script `Compile.ps1`. Ora puoi eseguirlo come amministratore e apparirà una nuova finestra. Goditi la tua versione compilata di WinUtil :)
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> Per ulteriori informazioni sull'utilizzo di WinUtil e su come contribuire allo sviluppo, ti invitiamo a leggere le [Linee guida per i contributi](https://winutil.christitus.com/contributing/). Se non sai da dove iniziare o hai domande, puoi chiedere sul nostro [Server Discord della community](https://discord.gg/RUbZUZyByQ); i membri attivi del progetto risponderanno appena possibile.
|
||||||
|
|
||||||
|
## 💖 Supporto
|
||||||
|
- Per sostenere il progetto moralmente e mentalmente, non dimenticare di lasciare una ⭐️!
|
||||||
|
- Wrapper EXE a 10$ su https://www.cttstore.com/windows-toolbox
|
||||||
|
|
||||||
|
## 💖 Sponsor
|
||||||
|
|
||||||
|
Questi sono gli sponsor che aiutano a mantenere vivo il progetto con contributi mensili.
|
||||||
|
|
||||||
|
<!-- sponsors --><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="Avatar utente: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="Avatar utente: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="Avatar utente: RMS" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="Avatar utente: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="Avatar utente: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="Avatar utente: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="Avatar utente: DursleyGuy" /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="Avatar utente: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="Avatar utente: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="Avatar utente: Andrew P" /></a><!-- sponsors -->
|
||||||
|
|
||||||
|
## 🏅 Grazie a tutti i collaboratori
|
||||||
|
Un ringraziamento speciale per aver dedicato il vostro tempo ad aiutare Winutil a crescere. Grazie mille! Continuate così 🍻.
|
||||||
|
|
||||||
|
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
||||||
|
|
||||||
|
## 📊 Statistiche GitHub
|
||||||
|
|
||||||
|

|
||||||
@@ -1,5 +1,7 @@
|
|||||||
# Security Policy
|
# Security Policy
|
||||||
|
|
||||||
If you find a security issue please make post it in the issues tab. If you think it should be private you can email me at contact@christitus.com.
|
If you find a security issue, please post it in the Issues tab. If you think it should be private, you can email me at contact@christitus.com.
|
||||||
|
|
||||||
For immediate response check out our discord server @ [](https://discord.gg/RUbZUZyByQ)
|
For immediate response check out our Discord server:
|
||||||
|
|
||||||
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
tag-prefix: ''
|
tag-prefix: ''
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: 'Features'
|
||||||
labels:
|
labels:
|
||||||
- 'feature'
|
- 'feature'
|
||||||
- 'enhancement'
|
- 'enhancement'
|
||||||
- 'new feature'
|
- 'new feature'
|
||||||
- title: '🐛 Bug Fixes'
|
- title: 'Bug Fixes'
|
||||||
labels:
|
labels:
|
||||||
- 'hotfix'
|
- 'hotfix'
|
||||||
- 'bugfix'
|
- 'bugfix'
|
||||||
- 'bug'
|
- 'bug'
|
||||||
- title: '📚 Documentation'
|
- title: 'Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🎨 UI/UX Improvements'
|
- title: 'UI/UX Improvements'
|
||||||
label: 'ui update'
|
label: 'ui update'
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||||
template: |
|
template: |
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Auto-approve PR
|
- name: Auto-approve PR
|
||||||
if: github.event.pull_request.user.login == 'github-actions[bot]'
|
if: github.event.pull_request.user.login == 'github-actions[bot]'
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check if PR was merged
|
- name: Check if PR was merged
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ jobs:
|
|||||||
uses: actions/stale@v10
|
uses: actions/stale@v10
|
||||||
with:
|
with:
|
||||||
# A list of labels to reference when looking through issues,
|
# A list of labels to reference when looking through issues,
|
||||||
# and only when one (or even more) of these labels are found..
|
# and only when one (or even more) of these labels is found.
|
||||||
# then skip this issue, and never try to stale and/or close it.
|
# then skip this issue, and never try to stale and/or close it.
|
||||||
exempt-issue-labels: "Keep Issue Open"
|
exempt-issue-labels: "Keep Issue Open"
|
||||||
# Split it into two weeks, after one week the issue will be marked as stale,
|
# Split it into two weeks, after one week, the issue will be marked as stale,
|
||||||
# after another week have pasted without any update.. the issue will then be closed.
|
# after another week have passed without any update, the issue will then be closed.
|
||||||
days-before-issue-stale: 90
|
days-before-issue-stale: 90
|
||||||
days-before-issue-close: 365
|
days-before-issue-close: 365
|
||||||
# NEVER mark PRs as Stale or Close + this workflow should never have write permissions on PRs, EVER!
|
# NEVER mark PRs as Stale or Close + this workflow should never have write permissions on PRs, EVER!
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Compile and Syntaxcheck winutil.ps1
|
- name: Compile and Syntax check winutil.ps1
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
if: github.repository == 'ChrisTitusTech/winutil'
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.147.7
|
HUGO_VERSION: 0.156.0
|
||||||
HUGO_ENVIRONMENT: production
|
HUGO_ENVIRONMENT: production
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
steps:
|
steps:
|
||||||
@@ -39,15 +39,15 @@ jobs:
|
|||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v6
|
||||||
|
|
||||||
- name: Generate Dev Docs from JSON
|
- name: Generate Dev Docs from JSON
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
@@ -71,6 +71,7 @@ jobs:
|
|||||||
labels: |
|
labels: |
|
||||||
automated
|
automated
|
||||||
documentation
|
documentation
|
||||||
|
skip-changelog
|
||||||
|
|
||||||
- name: Check outputs
|
- name: Check outputs
|
||||||
run: |
|
run: |
|
||||||
@@ -81,7 +82,7 @@ jobs:
|
|||||||
run: "cd docs && [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
run: "cd docs && [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||||
- name: Cache Restore
|
- name: Cache Restore
|
||||||
id: cache-restore
|
id: cache-restore
|
||||||
uses: actions/cache/restore@v5
|
uses: actions/cache/restore@v6
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ runner.temp }}/hugo_cache
|
${{ runner.temp }}/hugo_cache
|
||||||
@@ -97,13 +98,13 @@ jobs:
|
|||||||
--cacheDir "${{ runner.temp }}/hugo_cache"
|
--cacheDir "${{ runner.temp }}/hugo_cache"
|
||||||
- name: Cache Save
|
- name: Cache Save
|
||||||
id: cache-save
|
id: cache-save
|
||||||
uses: actions/cache/save@v5
|
uses: actions/cache/save@v6
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ runner.temp }}/hugo_cache
|
${{ runner.temp }}/hugo_cache
|
||||||
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
|
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v4
|
uses: actions/upload-pages-artifact@v5
|
||||||
with:
|
with:
|
||||||
path: ./docs/public
|
path: ./docs/public
|
||||||
|
|
||||||
@@ -117,4 +118,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v5
|
||||||
|
|||||||
@@ -1,115 +0,0 @@
|
|||||||
name: Issue slash commands
|
|
||||||
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created, edited]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
issueCommands:
|
|
||||||
# Skip this job if the comment was created/edited on a PR
|
|
||||||
if: ${{ !github.event.issue.pull_request }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
issues: write
|
|
||||||
pull-requests: none
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- run: echo "command=false" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Check for /label command
|
|
||||||
id: check_label_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/label') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
LABEL_NAME=$(echo "${{ github.event.comment.body }}" | awk -F"/label" '/\/label/ { match($2, /'\''([^'\'']*)'\''/, arr); if (arr[1] != "") print arr[1] }')
|
|
||||||
echo "label_command=true" >> $GITHUB_ENV
|
|
||||||
echo "label_name=${LABEL_NAME}" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "label_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /unlabel command
|
|
||||||
id: check_unlabel_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/unlabel') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
UNLABEL_NAME=$(echo "${{ github.event.comment.body }}" | awk -F"/unlabel" '/\/unlabel/ { match($2, /'\''([^'\'']*)'\''/, arr); if (arr[1] != "") print arr[1] }')
|
|
||||||
echo "unlabel_command=true" >> $GITHUB_ENV
|
|
||||||
echo "unlabel_name=${UNLABEL_NAME}" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "unlabel_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /close command
|
|
||||||
id: check_close_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/close') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
echo "close_command=true" >> $GITHUB_ENV
|
|
||||||
echo "reopen_command=false" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "close_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check for /open or /reopen command
|
|
||||||
id: check_reopen_command
|
|
||||||
run: |
|
|
||||||
if [[ "${{ contains(github.event.comment.body, '/open') }}" == "true" ]] || [[ "${{ contains(github.event.comment.body, '/reopen') }}" == "true" ]]; then
|
|
||||||
echo "command=true" >> $GITHUB_ENV
|
|
||||||
echo "reopen_command=true" >> $GITHUB_ENV
|
|
||||||
echo "close_command=false" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "reopen_command=false" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check if the user is allowed
|
|
||||||
id: check_user
|
|
||||||
if: env.command == 'true'
|
|
||||||
run: |
|
|
||||||
ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders" "GabiNun")
|
|
||||||
if [[ " ${ALLOWED_USERS[@]} " =~ " ${{ github.event.comment.user.login }} " ]]; then
|
|
||||||
echo "user=true" >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Close issue
|
|
||||||
if: env.close_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Closing the issue...
|
|
||||||
if [[ "${{ contains(github.event.comment.body, 'not planned') }}" == "true" ]]; then
|
|
||||||
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }} --reason 'not planned'
|
|
||||||
else
|
|
||||||
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }}
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Reopen issue
|
|
||||||
if: env.reopen_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Reopening the issue...
|
|
||||||
gh issue reopen $ISSUE_NUMBER --repo ${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Label issue
|
|
||||||
if: env.label_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Labeling the issue...
|
|
||||||
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --add-label "${{ env.label_name }}"
|
|
||||||
|
|
||||||
- name: Remove labels
|
|
||||||
if: env.unlabel_command == 'true'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
||||||
run: |
|
|
||||||
echo Unlabeling the issue...
|
|
||||||
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --remove-label "${{ env.unlabel_name }}"
|
|
||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
contents: read # Often needed for github-script
|
contents: read # Often needed for github-script
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR body for Type of Change
|
- name: Check PR body for Type of Change
|
||||||
uses: actions/github-script@v8
|
uses: actions/github-script@v9
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const prBody = context.payload.pull_request.body || '';
|
const prBody = context.payload.pull_request.body || '';
|
||||||
|
|||||||
@@ -11,11 +11,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-runspace:
|
build-runspace:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
outputs:
|
||||||
|
version: ${{ steps.extract_version.outputs.version }}
|
||||||
env:
|
env:
|
||||||
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Generate Dev Docs and Update JSON Links
|
- name: Generate Dev Docs and Update JSON Links
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -35,7 +37,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.AUTO_MERGE }}
|
token: ${{ secrets.AUTO_MERGE }}
|
||||||
commit-message: 'chore: Update documentation links in JSON configs'
|
commit-message: 'chore: Update documentation links in JSON configs'
|
||||||
title: 'chore: Update Generated Dev Docs'
|
title: 'chore: Update documentation links in JSON configs'
|
||||||
body: 'Automated update of documentation links in JSON configs from pre-release build'
|
body: 'Automated update of documentation links in JSON configs from pre-release build'
|
||||||
branch: docs-update
|
branch: docs-update
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
@@ -44,7 +46,7 @@ jobs:
|
|||||||
config/feature.json
|
config/feature.json
|
||||||
labels: |
|
labels: |
|
||||||
automated
|
automated
|
||||||
documentation
|
skip-changelog
|
||||||
|
|
||||||
- name: Check outputs
|
- name: Check outputs
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -57,6 +59,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$version = (Get-Date -Format "yy.MM.dd")
|
$version = (Get-Date -Format "yy.MM.dd")
|
||||||
echo "VERSION=$version" >> $env:GITHUB_ENV
|
echo "VERSION=$version" >> $env:GITHUB_ENV
|
||||||
|
echo "version=$version" >> $env:GITHUB_OUTPUT
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
@@ -79,9 +82,27 @@ jobs:
|
|||||||
}
|
}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Upload compiled script
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
name: winutil-ps1
|
||||||
|
path: ./winutil.ps1
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build-runspace
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download compiled script
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: winutil-ps1
|
||||||
|
|
||||||
|
- name: Set version from build job
|
||||||
|
run: echo "VERSION=${{ needs.build-runspace.outputs.version }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: generate_notes
|
id: generate_notes
|
||||||
uses: release-drafter/release-drafter@v6
|
uses: release-drafter/release-drafter@v7
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
@@ -90,7 +111,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create and Upload Release
|
- name: Create and Upload Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
name: Pre-Release ${{ env.VERSION }}
|
name: Pre-Release ${{ env.VERSION }}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check if winutil.ps1 exists
|
- name: Check if winutil.ps1 exists
|
||||||
id: check_existence
|
id: check_existence
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
@@ -32,7 +32,9 @@ jobs:
|
|||||||
body: 'Automated update of sponsors section'
|
body: 'Automated update of sponsors section'
|
||||||
branch: sponsors-update
|
branch: sponsors-update
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
labels: automated
|
labels: |
|
||||||
|
automated
|
||||||
|
skip-changelog
|
||||||
|
|
||||||
- name: Check outputs
|
- name: Check outputs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -8,32 +8,43 @@ jobs:
|
|||||||
name: PS Script Analyzer
|
name: PS Script Analyzer
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
- name: lint
|
- name: Install PSScriptAnalyzer
|
||||||
uses: devblackops/github-action-psscriptanalyzer@master
|
run: |
|
||||||
with:
|
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
||||||
sendComment: false
|
Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.20.0 -Scope CurrentUser -Force
|
||||||
settingsPath: lint/PSScriptAnalyser.ps1
|
Import-Module PSScriptAnalyzer -RequiredVersion 1.20.0 -Force
|
||||||
failOnErrors: false
|
Get-Module PSScriptAnalyzer | Select-Object Name, Version, Path
|
||||||
failOnWarnings: false
|
shell: pwsh
|
||||||
failOnInfos: false
|
- name: Run PSScriptAnalyzer
|
||||||
|
run: |
|
||||||
|
$results = Invoke-ScriptAnalyzer -Path . -Settings ./lint/PSScriptAnalyser.ps1 -Recurse
|
||||||
|
if ($results) {
|
||||||
|
$results | Format-Table -AutoSize | Out-String -Width 4096 | Write-Host
|
||||||
|
} else {
|
||||||
|
Write-Host "PSScriptAnalyzer found no diagnostics."
|
||||||
|
}
|
||||||
|
shell: pwsh
|
||||||
test:
|
test:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Install Pester
|
- name: Install Pester
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
||||||
Install-Module -Name Pester -Force -SkipPublisherCheck -AllowClobber
|
Install-Module -Name Pester -RequiredVersion 5.8.0 -Force -SkipPublisherCheck -AllowClobber
|
||||||
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Get-Module Pester | Select-Object Name, Version, Path
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Run Pester tests
|
- name: Run Pester tests
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
||||||
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed -CI
|
||||||
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,62 +1,20 @@
|
|||||||
### VSCode ###
|
# winutil
|
||||||
|
|
||||||
# Configuration folder
|
|
||||||
.vscode/
|
|
||||||
.idea/
|
|
||||||
|
|
||||||
### Visual Studio ###
|
|
||||||
|
|
||||||
# Visual Studio user-specific files
|
|
||||||
.vs/
|
|
||||||
|
|
||||||
winutil.pdb
|
|
||||||
|
|
||||||
### Preprocessor Hashes ###
|
|
||||||
.preprocessor_hashes.json
|
|
||||||
|
|
||||||
### Windows ###
|
|
||||||
|
|
||||||
# Folder config file
|
|
||||||
[Dd]esktop.ini
|
|
||||||
|
|
||||||
# Ignore Generated XAML Files
|
|
||||||
xaml/inputApp.xaml
|
|
||||||
xaml/inputFeatures.xaml
|
|
||||||
xaml/inputTweaks.xaml
|
|
||||||
|
|
||||||
# Executables and Configs
|
|
||||||
winget.msixbundle
|
|
||||||
pester.ps1
|
|
||||||
*.psd*
|
|
||||||
ooshutup10.cfg
|
|
||||||
winutil.exe.config
|
|
||||||
Microsoft.UI.Xaml*
|
|
||||||
license1.xml
|
|
||||||
winutil.ps1
|
|
||||||
|
|
||||||
# Libraries
|
|
||||||
System.Management.Automation.dll
|
System.Management.Automation.dll
|
||||||
Microsoft.PowerShell.ConsoleHost.dll
|
Microsoft.PowerShell.ConsoleHost.dll
|
||||||
|
|
||||||
# Compressed files
|
winutil.exe.config
|
||||||
*.zip
|
|
||||||
|
|
||||||
### MacOS ###
|
|
||||||
|
|
||||||
# General
|
|
||||||
.DS_Store
|
|
||||||
True
|
|
||||||
test.ps1
|
|
||||||
winutil.ps1
|
winutil.ps1
|
||||||
|
|
||||||
# temporary excludes for docs
|
|
||||||
.github/site/
|
|
||||||
|
|
||||||
binary/
|
binary/
|
||||||
|
testResults.xml
|
||||||
|
|
||||||
.preprocessor_hashes.json
|
# general software/os specific
|
||||||
|
desktop.ini
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# Hugo Files
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# hugo files
|
||||||
docs/public/
|
docs/public/
|
||||||
docs/.hugo_build.lock
|
docs/.hugo_build.lock
|
||||||
docs/resources/
|
docs/resources/
|
||||||
|
|||||||
@@ -0,0 +1,193 @@
|
|||||||
|
# AGENTS.md
|
||||||
|
|
||||||
|
Drop-in operating instructions for coding agents. Read this file before every task.
|
||||||
|
|
||||||
|
**Working code only. Finish the job. Plausibility is not correctness.**
|
||||||
|
|
||||||
|
This repository follows the AGENTS.md convention: these instructions are for Codex, Claude Code, Cursor, Windsurf, Copilot, Aider, Devin, Amp, and other coding agents that read `AGENTS.md`.
|
||||||
|
|
||||||
|
## 0. Non-Negotiables
|
||||||
|
|
||||||
|
These rules override everything else in this file when in conflict:
|
||||||
|
|
||||||
|
1. **Do not edit `winutil.ps1` directly.** It is generated build output. Change source files and compile.
|
||||||
|
2. **Do not commit `winutil.ps1`.** It is ignored locally and generated by GitHub Actions for releases.
|
||||||
|
3. **Never fabricate.** Do not invent file paths, function names, command output, test results, commit hashes, or API behavior. Read the file or run the command.
|
||||||
|
4. **Disagree when the premise is wrong.** Say what is wrong before acting on it.
|
||||||
|
5. **Stop when genuinely ambiguous.** If two interpretations would produce materially different diffs, ask before editing.
|
||||||
|
6. **Touch only what the task requires.** No drive-by refactors, formatting sweeps, or unrelated cleanup.
|
||||||
|
7. **Verify before saying done.** A plausible-looking diff is not proof.
|
||||||
|
|
||||||
|
## 1. Project Context
|
||||||
|
|
||||||
|
WinUtil is a Windows PowerShell utility with a WPF interface. The repository is maintained as modular source, but the distributed artifact is one compiled PowerShell script.
|
||||||
|
|
||||||
|
### Stack
|
||||||
|
|
||||||
|
- Language: Windows PowerShell / PowerShell.
|
||||||
|
- UI: WPF via `xaml/inputXML.xaml`.
|
||||||
|
- Configuration: JSON files under `config/`.
|
||||||
|
- Tests: Pester tests under `pester/`.
|
||||||
|
- Lint: PowerShell Script Analyzer with settings in `lint/PSScriptAnalyser.ps1`.
|
||||||
|
- Docs: Hugo site under `docs/`.
|
||||||
|
- Release artifact: generated root `winutil.ps1`.
|
||||||
|
|
||||||
|
### Key Commands
|
||||||
|
|
||||||
|
- Compile:
|
||||||
|
```powershell
|
||||||
|
.\Compile.ps1
|
||||||
|
```
|
||||||
|
- Compile and run GUI:
|
||||||
|
```powershell
|
||||||
|
.\Compile.ps1 -Run
|
||||||
|
```
|
||||||
|
- Run tests:
|
||||||
|
```powershell
|
||||||
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed
|
||||||
|
```
|
||||||
|
- Run Script Analyzer with project settings when available:
|
||||||
|
```powershell
|
||||||
|
Invoke-ScriptAnalyzer -Path . -Settings .\lint\PSScriptAnalyser.ps1 -Recurse
|
||||||
|
```
|
||||||
|
|
||||||
|
Prefer the narrowest useful verification while iterating. Use the full relevant check before finishing.
|
||||||
|
|
||||||
|
## 2. Source Of Truth
|
||||||
|
|
||||||
|
Make durable changes only in files consumed by `Compile.ps1` or in documentation/test files:
|
||||||
|
|
||||||
|
- `scripts/start.ps1` for startup/bootstrap code.
|
||||||
|
- `functions/public/*.ps1` for UI-facing and user-facing workflows.
|
||||||
|
- `functions/private/*.ps1` for internal helpers.
|
||||||
|
- `config/*.json` for applications, tweaks, features, DNS, presets, navigation, themes, and related declarative data.
|
||||||
|
- `xaml/inputXML.xaml` for the WPF UI layout.
|
||||||
|
- `tools/autounattend.xml` for the embedded unattended Windows setup template.
|
||||||
|
- `scripts/main.ps1` for the final entrypoint and GUI initialization logic appended during compile.
|
||||||
|
- `pester/*.Tests.ps1` for automated checks.
|
||||||
|
- `docs/` for Hugo documentation.
|
||||||
|
|
||||||
|
If behavior changes require the compiled script to change, update these source files and run `.\Compile.ps1` only to verify generation.
|
||||||
|
|
||||||
|
## 3. Build Model
|
||||||
|
|
||||||
|
`Compile.ps1` combines the repository sources into `winutil.ps1` in this order:
|
||||||
|
|
||||||
|
1. Read `scripts/start.ps1` and replace `#{replaceme}` with the current `yy.MM.dd` build date.
|
||||||
|
2. Append every file under `functions/` recursively.
|
||||||
|
3. Convert each `config/*.json` file into embedded `$sync.configs` objects.
|
||||||
|
4. Special-case `config/applications.json` so keys receive the `WPFInstall` prefix in compiled config.
|
||||||
|
5. Embed `xaml/inputXML.xaml` into `$inputXML`.
|
||||||
|
6. Embed `tools/autounattend.xml` into `$WinUtilAutounattendXml`.
|
||||||
|
7. Append `scripts/main.ps1`.
|
||||||
|
8. Write the result to root `winutil.ps1`.
|
||||||
|
|
||||||
|
Because the final script is concatenated, do not rely on runtime module imports or source-relative dot-sourcing unless the compiled script will also contain the required code/data.
|
||||||
|
|
||||||
|
## 4. Before Editing
|
||||||
|
|
||||||
|
- State the plan in one or two sentences before editing. For non-trivial work, include the verification you intend to run.
|
||||||
|
- Read the files you will touch and the files that call them.
|
||||||
|
- Match existing patterns even when a different greenfield design would be cleaner.
|
||||||
|
- Surface assumptions when they affect behavior, compatibility, or user data.
|
||||||
|
- If two approaches have meaningful tradeoffs, name them before choosing. Trivial tasks can proceed directly.
|
||||||
|
|
||||||
|
## 5. Coding Guidelines
|
||||||
|
|
||||||
|
- Prefer the minimum code that solves the stated problem.
|
||||||
|
- Keep PowerShell functions in one function file when practical, with the file name matching the primary function name.
|
||||||
|
- Use approved PowerShell verb-noun names and follow the existing `WPF` / `WinUtil` naming conventions.
|
||||||
|
- Keep UI event handler names aligned with XAML element names. A button named `WPFExampleButton` is typically handled by `Invoke-WPFExampleButton`.
|
||||||
|
- Use `$sync` for shared state and UI references, consistent with the existing runspace model.
|
||||||
|
- Update WPF controls through the UI dispatcher when running work in a background runspace.
|
||||||
|
- Keep config-driven features in JSON when they fit the existing schema instead of hard-coding lists in PowerShell.
|
||||||
|
- Preserve undo/original-state data for tweaks so users can reverse changes.
|
||||||
|
- Do not add abstractions, configurability, hooks, or "future extensibility" unless the task needs them now.
|
||||||
|
- Clean up orphans created by your own changes, such as unused variables or functions made obsolete by the edit.
|
||||||
|
- Avoid broad formatting-only edits, especially in JSON config files, XAML, docs, and generated output.
|
||||||
|
|
||||||
|
## 6. Runtime And Safety Rules
|
||||||
|
|
||||||
|
- WinUtil performs system-level Windows changes. Treat registry, services, AppX removal, package manager, Windows Update, ISO, and unattended setup changes as high-risk.
|
||||||
|
- Prefer existing helper functions for WinGet, Chocolatey, registry, services, progress, and UI updates.
|
||||||
|
- Keep tweaks reversible where the schema supports it by including original values or original states.
|
||||||
|
- Never modify a user's original ISO in-place; follow existing copy/mount/export patterns.
|
||||||
|
- Avoid storing credentials, secrets, or machine-specific paths in repo files.
|
||||||
|
- Preserve logging and user feedback patterns for long-running or destructive operations.
|
||||||
|
|
||||||
|
## 7. Surgical Changes
|
||||||
|
|
||||||
|
- Do not improve adjacent code, comments, formatting, imports, or docs unless required.
|
||||||
|
- Do not refactor working code because you are already in the file.
|
||||||
|
- Do not delete pre-existing dead code unless asked; mention it in the summary if relevant.
|
||||||
|
- Keep diffs reviewable. Every changed line should trace to the user's request.
|
||||||
|
- If a change starts spreading across unrelated areas, pause and reassess the plan.
|
||||||
|
|
||||||
|
## 8. Verification
|
||||||
|
|
||||||
|
Define success in terms that can be checked, then check it.
|
||||||
|
|
||||||
|
- For compile/build changes, run `.\Compile.ps1`.
|
||||||
|
- For GUI behavior changes, run `.\Compile.ps1 -Run` when practical and verify the affected path manually.
|
||||||
|
- For config changes, run the compile check and relevant Pester tests.
|
||||||
|
- For function changes, run the relevant Pester tests or add/update focused tests when practical.
|
||||||
|
- For docs-only changes, proofread the changed files and skip runtime tests unless docs generation is affected.
|
||||||
|
- Read command output. Do not report tests as passing unless they actually passed.
|
||||||
|
- If verification fails, fix the cause rather than weakening the test.
|
||||||
|
|
||||||
|
If a check cannot be run, say exactly why and what residual risk remains.
|
||||||
|
|
||||||
|
## 9. Generated Files And Git Hygiene
|
||||||
|
|
||||||
|
- Treat local `winutil.ps1` changes as disposable compile output.
|
||||||
|
- Never stage or commit `winutil.ps1`, `docs/public/`, `docs/resources/`, `binary/`, editor folders, or other ignored build artifacts.
|
||||||
|
- Do not remove `.gitignore` rules that keep generated artifacts out of Git.
|
||||||
|
- Before finishing, check `git status --short` and separate your changes from pre-existing user changes.
|
||||||
|
- Do not revert user changes unless explicitly asked.
|
||||||
|
- Commit messages, when requested, should be descriptive: short subject under 72 characters, body explaining why when needed.
|
||||||
|
|
||||||
|
## 10. Documentation Expectations
|
||||||
|
|
||||||
|
- Update `docs/content/` when user-facing behavior changes.
|
||||||
|
- Update developer docs when architecture, build flow, config schema, or contribution workflow changes.
|
||||||
|
- Keep README changes brief and high-level.
|
||||||
|
- Put detailed user and developer documentation under `docs/`.
|
||||||
|
- Keep `SPEC.md` aligned with build/runtime contract changes.
|
||||||
|
|
||||||
|
## 11. Communication Style
|
||||||
|
|
||||||
|
- Be direct and concise. Start with the answer or action.
|
||||||
|
- No flattery, filler, ceremonial closings, or fake certainty.
|
||||||
|
- Use bullets only when they improve scanning.
|
||||||
|
- Report what changed, how it was verified, and anything not done.
|
||||||
|
- If the user asks for a review, lead with findings and file/line references.
|
||||||
|
|
||||||
|
## 12. When To Ask
|
||||||
|
|
||||||
|
Ask before proceeding when:
|
||||||
|
|
||||||
|
- The request has two plausible interpretations and the choice materially changes behavior or files touched.
|
||||||
|
- The change affects release generation, generated artifacts, migrations, or high-risk Windows behavior in a way the user did not specify.
|
||||||
|
- You need credentials, secrets, production resources, or access you do not have.
|
||||||
|
- The user's stated goal conflicts with the literal request.
|
||||||
|
|
||||||
|
Proceed without asking when:
|
||||||
|
|
||||||
|
- The task is trivial and reversible.
|
||||||
|
- Ambiguity can be resolved by reading the code or running a local command.
|
||||||
|
- The user already answered the question in this session.
|
||||||
|
|
||||||
|
## 13. Project Learnings
|
||||||
|
|
||||||
|
When the user corrects an agent approach, add or tighten one concrete rule here before ending the session. Keep this section short and prune rules that no longer matter.
|
||||||
|
|
||||||
|
- Keep `winutil.ps1` generated-only: change source files, compile to verify, and never stage the generated script.
|
||||||
|
- Keep WinUtil runtime logging in the existing timestamped `%LocalAppData%\winutil\logs\winutil_*.log` session file; do not create a separate root `winutil.log`.
|
||||||
|
- Import Pester 5.8.0 before running tests so `Invoke-Pester -Output Detailed -CI` does not resolve to Windows' inbox Pester 3.4.0.
|
||||||
|
- Keep package install/uninstall process launches simple unless explicitly requested; do not add a separate stdout/stderr process logging helper for winget or Chocolatey.
|
||||||
|
- When the active log file is owned by `Start-Transcript`, do not call `Add-Content` against that file; write to host output so the transcript captures the line in the same log file without recording a terminating-error diagnostic.
|
||||||
|
- Log install/uninstall package names and package-manager IDs before queuing background runspace work; do not rely on runspace host output for the package identity.
|
||||||
|
- For Win11 Creator, start each new ISO modification in a fresh `WinUtil_Win11ISO_*` temp directory; existing-work detection is only for resuming/exporting already modified media.
|
||||||
|
- For Script Analyzer cleanup, fix actionable source warnings first and do not globally suppress accepted convention warnings such as plural names, `ShouldProcess` on UI helpers, `$global:sync`, or compile-time cross-file false positives.
|
||||||
|
- For DNS DHCP reset, keep the cmdlet reset and explicitly set IPv4 and IPv6 DNS source to DHCP.
|
||||||
@@ -1,144 +1,46 @@
|
|||||||
param (
|
param (
|
||||||
[switch]$Run,
|
[switch]$Run
|
||||||
[string]$Arguments
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if ((Get-Item ".\winutil.ps1" -ErrorAction SilentlyContinue).IsReadOnly) {
|
|
||||||
Remove-Item ".\winutil.ps1" -Force
|
|
||||||
}
|
|
||||||
|
|
||||||
$OFS = "`r`n"
|
$OFS = "`r`n"
|
||||||
$scriptname = "winutil.ps1"
|
|
||||||
$workingdir = $PSScriptRoot
|
|
||||||
|
|
||||||
# Variable to sync between runspaces
|
# Variable to sync between runspaces
|
||||||
$sync = [Hashtable]::Synchronized(@{})
|
$sync = [Hashtable]::Synchronized(@{})
|
||||||
$sync.configs = @{}
|
$sync.configs = @{}
|
||||||
|
|
||||||
function Update-Progress {
|
$script = (Get-Content -Path scripts\start.ps1) -replace '#{replaceme}', (Get-Date -Format 'yy.MM.dd')
|
||||||
param (
|
|
||||||
[Parameter(Mandatory, position=0)]
|
|
||||||
[string]$StatusMessage,
|
|
||||||
|
|
||||||
[Parameter(Mandatory, position=1)]
|
$script += Get-ChildItem -Path functions -Recurse -File | ForEach-Object {
|
||||||
[ValidateRange(0,100)]
|
Get-Content -Path $_.FullName -Raw
|
||||||
[int]$Percent,
|
|
||||||
|
|
||||||
[Parameter(position=2)]
|
|
||||||
[string]$Activity = "Compiling"
|
|
||||||
)
|
|
||||||
|
|
||||||
Write-Progress -Activity $Activity -Status $StatusMessage -PercentComplete $Percent
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Update-Progress "Pre-req: Running Preprocessor..." 0
|
Get-ChildItem config | ForEach-Object {
|
||||||
|
$obj = Get-Content -Path $_.FullName -Raw | ConvertFrom-Json
|
||||||
|
|
||||||
# Dot source the 'Invoke-Preprocessing' Function from 'tools/Invoke-Preprocessing.ps1' Script
|
if ($_.Name -eq "applications.json") {
|
||||||
$preprocessingFilePath = ".\tools\Invoke-Preprocessing.ps1"
|
$fixed = [ordered]@{}
|
||||||
. $preprocessingFilePath
|
foreach ($p in $obj.PSObject.Properties) {
|
||||||
|
$fixed["WPFInstall$($p.Name)"] = $p.Value
|
||||||
$excludedFiles = @()
|
|
||||||
|
|
||||||
# Add directories only if they exist
|
|
||||||
if (Test-Path '.\.git\') { $excludedFiles += '.\.git\' }
|
|
||||||
if (Test-Path '.\binary\') { $excludedFiles += '.\binary\' }
|
|
||||||
|
|
||||||
# Add files that should always be excluded
|
|
||||||
$excludedFiles += @(
|
|
||||||
'.\.gitignore',
|
|
||||||
'.\.gitattributes',
|
|
||||||
'.\.github\CODEOWNERS',
|
|
||||||
'.\LICENSE',
|
|
||||||
"$preprocessingFilePath",
|
|
||||||
'*.png',
|
|
||||||
'.\.preprocessor_hashes.json'
|
|
||||||
)
|
|
||||||
|
|
||||||
$msg = "Pre-req: Code Formatting"
|
|
||||||
Invoke-Preprocessing -WorkingDir "$workingdir" -ExcludedFiles $excludedFiles -ProgressStatusMessage $msg
|
|
||||||
|
|
||||||
# Create the script in memory.
|
|
||||||
Update-Progress "Pre-req: Allocating Memory" 0
|
|
||||||
$script_content = [System.Collections.Generic.List[string]]::new()
|
|
||||||
|
|
||||||
Update-Progress "Adding: Version" 10
|
|
||||||
$script_content.Add($(Get-Content "scripts\start.ps1").replace('#{replaceme}',"$(Get-Date -Format yy.MM.dd)"))
|
|
||||||
|
|
||||||
Update-Progress "Adding: Functions" 20
|
|
||||||
Get-ChildItem "functions" -Recurse -File | ForEach-Object {
|
|
||||||
$script_content.Add($(Get-Content $psitem.FullName))
|
|
||||||
}
|
|
||||||
Update-Progress "Adding: Config *.json" 40
|
|
||||||
Get-ChildItem "config" | Where-Object {$psitem.extension -eq ".json"} | ForEach-Object {
|
|
||||||
$json = (Get-Content $psitem.FullName -Raw)
|
|
||||||
$jsonAsObject = $json | ConvertFrom-Json
|
|
||||||
|
|
||||||
# Add 'WPFInstall' as a prefix to every entry-name in 'applications.json' file
|
|
||||||
if ($psitem.Name -eq "applications.json") {
|
|
||||||
foreach ($appEntryName in $jsonAsObject.PSObject.Properties.Name) {
|
|
||||||
$appEntryContent = $jsonAsObject.$appEntryName
|
|
||||||
$jsonAsObject.PSObject.Properties.Remove($appEntryName)
|
|
||||||
$jsonAsObject | Add-Member -MemberType NoteProperty -Name "WPFInstall$appEntryName" -Value $appEntryContent
|
|
||||||
}
|
}
|
||||||
|
$obj = [pscustomobject]$fixed
|
||||||
}
|
}
|
||||||
|
|
||||||
# Line 90 requires no whitespace inside the here-strings, to keep formatting of the JSON in the final script.
|
$json = $obj | ConvertTo-Json -Depth 10
|
||||||
$json = @"
|
|
||||||
$($jsonAsObject | ConvertTo-Json -Depth 3)
|
|
||||||
"@
|
|
||||||
|
|
||||||
$sync.configs.$($psitem.BaseName) = $json | ConvertFrom-Json
|
$sync.configs[$_.BaseName] = $obj
|
||||||
$script_content.Add($(Write-Output "`$sync.configs.$($psitem.BaseName) = @'`r`n$json`r`n'@ `| ConvertFrom-Json" ))
|
$script += "`$sync.configs.$($_.BaseName) = @'`r`n$json`r`n'@ | ConvertFrom-Json"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Read the entire XAML file as a single string, preserving line breaks
|
$xaml = Get-Content -Path xaml\inputXML.xaml -Raw
|
||||||
$xaml = Get-Content "$workingdir\xaml\inputXML.xaml" -Raw
|
$script += "`$inputXML = @'`r`n$xaml`r`n'@"
|
||||||
|
|
||||||
Update-Progress "Adding: Xaml " 90
|
$autounattendXml = Get-Content -Path tools\autounattend.xml -Raw
|
||||||
|
$script += "`$WinUtilAutounattendXml = @'`r`n$autounattendXml`r`n'@"
|
||||||
|
|
||||||
# Add the XAML content to $script_content using a here-string
|
$script += Get-Content -Path scripts\main.ps1 -Raw
|
||||||
$script_content.Add(@"
|
|
||||||
`$inputXML = @'
|
|
||||||
$xaml
|
|
||||||
'@
|
|
||||||
"@)
|
|
||||||
|
|
||||||
Update-Progress "Adding: autounattend.xml" 95
|
Set-Content -Path winutil.ps1 -Value $script
|
||||||
$autounattendRaw = Get-Content "$workingdir\tools\autounattend.xml" -Raw
|
|
||||||
# Strip XML comments (<!-- ... -->, including multi-line)
|
|
||||||
$autounattendRaw = [regex]::Replace($autounattendRaw, '<!--.*?-->', '', [System.Text.RegularExpressions.RegexOptions]::Singleline)
|
|
||||||
# Drop blank lines and trim trailing whitespace per line
|
|
||||||
$autounattendXml = ($autounattendRaw -split "`r?`n" |
|
|
||||||
Where-Object { $_.Trim() -ne '' } |
|
|
||||||
ForEach-Object { $_.TrimEnd() }) -join "`r`n"
|
|
||||||
$script_content.Add(@"
|
|
||||||
`$WinUtilAutounattendXml = @'
|
|
||||||
$autounattendXml
|
|
||||||
'@
|
|
||||||
"@)
|
|
||||||
|
|
||||||
$script_content.Add($(Get-Content "scripts\main.ps1"))
|
if ($Run) {
|
||||||
|
.\Winutil.ps1
|
||||||
Update-Progress "Removing temporary files" 99
|
|
||||||
Remove-Item "xaml\inputApp.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputTweaks.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputFeatures.xaml" -ErrorAction SilentlyContinue
|
|
||||||
|
|
||||||
Set-Content -Path "$scriptname" -Value ($script_content -join "`r`n") -Encoding ascii
|
|
||||||
Write-Progress -Activity "Compiling" -Completed
|
|
||||||
|
|
||||||
Update-Progress -Activity "Validating" -StatusMessage "Checking winutil.ps1 Syntax" -Percent 0
|
|
||||||
try {
|
|
||||||
Get-Command -Syntax .\winutil.ps1 | Out-Null
|
|
||||||
} catch {
|
|
||||||
Write-Warning "Syntax Validation for 'winutil.ps1' has failed"
|
|
||||||
Write-Host "$($Error[0])" -ForegroundColor Red
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
Write-Progress -Activity "Validating" -Completed
|
|
||||||
|
|
||||||
if ($run) {
|
|
||||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
|
|
||||||
.\Winutil.ps1 $Arguments
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,88 +1,88 @@
|
|||||||
# Chris Titus Tech's Windows Utility
|
# Chris Titus Tech's Windows Utility
|
||||||
|
|
||||||
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
[](https://github.com/ChrisTitusTech/winutil/releases/latest)
|
||||||

|

|
||||||
[](https://discord.gg/RUbZUZyByQ)
|
[](https://discord.gg/RUbZUZyByQ)
|
||||||
[](https://winutil.christitus.com/)
|
|
||||||
|
|
||||||
This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient.
|
A curated compilation of Windows system tasks streamline **installs**, debloat with **tweaks**, troubleshoot with **config**, and configure **Windows updates**. Run it fresh on every new Windows install.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 💡 Usage
|
---
|
||||||
|
|
||||||
Winutil must be run in Admin mode because it performs system-wide tweaks. To achieve this, run PowerShell as an administrator. Here are a few ways to do it:
|
## Quick Start
|
||||||
|
|
||||||
1. **Start menu Method:**
|
> **WinUtil must be run as Administrator** Because it performs system-wide changes.
|
||||||
- Right-click on the start menu.
|
|
||||||
- Choose "Windows PowerShell (Admin)" (for Windows 10) or "Terminal (Admin)" (for Windows 11).
|
|
||||||
|
|
||||||
2. **Search and Launch Method:**
|
Open PowerShell or Terminal as admin, then run:
|
||||||
- Press the Windows key.
|
|
||||||
- Type "PowerShell" or "Terminal" (for Windows 11).
|
|
||||||
- Press `Ctrl + Shift + Enter` or Right-click and choose "Run as administrator" to launch it with administrator privileges.
|
|
||||||
|
|
||||||
### Launch Command
|
|
||||||
|
|
||||||
#### Stable Branch (Recommended)
|
|
||||||
|
|
||||||
|
**Stable Branch (recommended)**
|
||||||
```ps1
|
```ps1
|
||||||
irm "https://christitus.com/win" | iex
|
irm https://christitus.com/win | iex
|
||||||
```
|
|
||||||
#### Dev Branch
|
|
||||||
|
|
||||||
```ps1
|
|
||||||
irm "https://christitus.com/windev" | iex
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have Issues, refer to [Known Issues](https://winutil.christitus.com/knownissues/) or [Create Issue](https://github.com/ChrisTitusTech/winutil/issues)
|
**Development Branch**
|
||||||
|
|
||||||
## 🎓 Documentation
|
|
||||||
|
|
||||||
### [WinUtil Official Documentation](https://winutil.christitus.com/)
|
|
||||||
|
|
||||||
### [YouTube Tutorial](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
|
||||||
|
|
||||||
### [ChrisTitus.com Article](https://christitus.com/windows-tool/)
|
|
||||||
|
|
||||||
## 🛠️ Build & Develop
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> Winutil is a relatively large script, so it's split into multiple files which're combined into a single `.ps1` file using a custom compiler. This makes maintaining the project a lot easier.
|
|
||||||
|
|
||||||
Get a copy of the source code, this can be done using GitHub UI (`Code -> Download ZIP`), or by cloning (downloading) the repo using git.
|
|
||||||
|
|
||||||
If git is installed, run the following commands under a PowerShell window to clone and move into project's directory:
|
|
||||||
```ps1
|
```ps1
|
||||||
git clone --depth 1 "https://github.com/ChrisTitusTech/winutil.git"
|
irm https://christitus.com/windev | iex
|
||||||
cd winutil
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To build the project, run the Compile Script under a PowerShell window (admin permissions IS NOT required):
|
### How to open an admin terminal
|
||||||
```ps1
|
|
||||||
.\Compile.ps1
|
- **Start menu:** Right-click Start → *Windows PowerShell (Admin)* or *Terminal (Admin)*
|
||||||
|
- **Search:** Press the `Windows key`, and type `PowerShell` or `Terminal`, then `Ctrl + Shift + Enter`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Automation / Presets
|
||||||
|
|
||||||
|
Apply a predefined configuration without manual selection:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
& ([ScriptBlock]::Create((irm https://christitus.com/win))) -Preset Standard
|
||||||
```
|
```
|
||||||
|
|
||||||
You'll see a new file named `winutil.ps1`, which's created by `Compile.ps1` script, now you can run it as admin and a new window will popup, enjoy your own compiled version of WinUtil :)
|
| Preset | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
| `Standard` | Balanced defaults for most users |
|
||||||
|
| `Minimal` | Minimal changes to suit every user |
|
||||||
|
| `Advanced` | Deep tweaks for power users |
|
||||||
|
|
||||||
> [!TIP]
|
To view exactly what each preset does, see:
|
||||||
> For more info on using WinUtil and how to develop for it, please consider reading [the Contribution Guidelines](https://winutil.christitus.com/contributing/), if you don't know where to start, or have questions, you can ask over on our [Discord Community Server](https://discord.gg/RUbZUZyByQ) and active project members will answer when they can.
|
https://github.com/ChrisTitusTech/winutil/blob/main/config/preset.json
|
||||||
|
|
||||||
## 💖 Support
|
---
|
||||||
- To morally and mentally support the project, make sure to leave a ⭐️!
|
|
||||||
|
## Build & Develop
|
||||||
|
|
||||||
|
See https://github.com/ChrisTitusTech/winutil/blob/main/.github/CONTRIBUTING.md
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
|
||||||
|
- [Official Documentation](https://winutil.christitus.com/)
|
||||||
|
- [YouTube Tutorial](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
|
||||||
|
- [ChrisTitus.com Article](https://christitus.com/windows-tool/)
|
||||||
|
- [Known Issues](https://winutil.christitus.com/knownissues/)
|
||||||
|
- [Report an Issue](https://github.com/ChrisTitusTech/winutil/issues)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
- Leave a ⭐ to show support!
|
||||||
- EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox
|
- EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox
|
||||||
|
|
||||||
## 💖 Sponsors
|
## Sponsors
|
||||||
|
|
||||||
These are the sponsors that help keep this project alive with monthly contributions.
|
These are the sponsors that help keep this project alive with monthly contributions.
|
||||||
|
|
||||||
<!-- sponsors --><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><a href="https://github.com/nathanzilgo"><img src="https://github.com/nathanzilgo.png" width="60px" alt="User avatar: Nathan Fernandes Pedroza" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/ysaito8015"><img src="https://github.com/ysaito8015.png" width="60px" alt="User avatar: Yusuke Saito" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><a href="https://github.com/johanwildeboer"><img src="https://github.com/johanwildeboer.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/lukas346"><img src="https://github.com/lukas346.png" width="60px" alt="User avatar: Wook" /></a><a href="https://github.com/tsv31"><img src="https://github.com/tsv31.png" width="60px" alt="User avatar: Sorin" /></a><a href="https://github.com/seanh1995"><img src="https://github.com/seanh1995.png" width="60px" alt="User avatar: Sean (ANGRYxScotsman)" /></a><!-- sponsors -->
|
||||||
|
|
||||||
## 🏅 Thanks to all Contributors
|
---
|
||||||
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
[](https://github.com/ChrisTitusTech/winutil/graphs/contributors)
|
||||||
|
|
||||||
## 📊 GitHub Stats
|
Thanks to everyone who has contributed time and effort to this project. Keep rocking 🍻
|
||||||
|
|
||||||

|
|
||||||
|
|||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# SPEC.md
|
||||||
|
|
||||||
|
## Project Contract
|
||||||
|
|
||||||
|
WinUtil is a Windows PowerShell utility with a WPF interface. The repository is maintained as modular source files, but the released artifact is a single generated `winutil.ps1` script.
|
||||||
|
|
||||||
|
The compiled `winutil.ps1` is not source code for editing or review. It is generated by `Compile.ps1` and produced during release automation. All durable changes must be made to the source files that feed the compiler.
|
||||||
|
|
||||||
|
## Goals
|
||||||
|
|
||||||
|
- Provide a single-script Windows utility that can be launched from PowerShell.
|
||||||
|
- Keep development modular enough for contributors to work on functions, config, UI, docs, and tooling independently.
|
||||||
|
- Make install, tweak, feature, repair, update, and ISO workflows discoverable from the WPF UI.
|
||||||
|
- Keep common lists and options declarative in JSON config where possible.
|
||||||
|
- Preserve a repeatable compile process so local builds and GitHub Actions builds produce the distributable script from the same inputs.
|
||||||
|
|
||||||
|
## Non-Goals
|
||||||
|
|
||||||
|
- `winutil.ps1` is not hand-maintained.
|
||||||
|
- The project is not structured as a PowerShell module at runtime.
|
||||||
|
- The GUI is not a separate packaged desktop application in this repository's normal release path.
|
||||||
|
- Generated files should not be reviewed as source changes.
|
||||||
|
|
||||||
|
## Repository Layout
|
||||||
|
|
||||||
|
- `Compile.ps1`: build script that creates `winutil.ps1`.
|
||||||
|
- `scripts/start.ps1`: startup/bootstrap segment used at the beginning of the compiled script.
|
||||||
|
- `scripts/main.ps1`: main entrypoint appended at the end of the compiled script.
|
||||||
|
- `functions/public/`: public/UI-facing PowerShell functions.
|
||||||
|
- `functions/private/`: internal helper PowerShell functions.
|
||||||
|
- `config/`: JSON configuration consumed at compile time and embedded into `$sync.configs`.
|
||||||
|
- `xaml/inputXML.xaml`: WPF UI markup embedded into the compiled script.
|
||||||
|
- `tools/autounattend.xml`: unattended setup XML embedded for Windows ISO workflows.
|
||||||
|
- `pester/`: Pester tests for config and function checks.
|
||||||
|
- `lint/PSScriptAnalyser.ps1`: PowerShell Script Analyzer settings.
|
||||||
|
- `docs/`: Hugo documentation site.
|
||||||
|
- `winutil.ps1`: ignored generated build artifact.
|
||||||
|
|
||||||
|
## Compile Specification
|
||||||
|
|
||||||
|
`Compile.ps1` must produce a standalone root `winutil.ps1` by combining all required project files.
|
||||||
|
|
||||||
|
The compile flow is:
|
||||||
|
|
||||||
|
1. Initialize shared state with `$sync = [Hashtable]::Synchronized(@{})` and `$sync.configs = @{}`.
|
||||||
|
2. Read `scripts/start.ps1`.
|
||||||
|
3. Replace `#{replaceme}` in startup code with the current `yy.MM.dd` build date.
|
||||||
|
4. Append raw content from all files under `functions/` recursively.
|
||||||
|
5. For every file in `config/`, parse JSON and embed it into `$sync.configs.<basename>`.
|
||||||
|
6. Special-case `config/applications.json` so application keys are emitted with the `WPFInstall` prefix.
|
||||||
|
7. Embed `xaml/inputXML.xaml` as `$inputXML`.
|
||||||
|
8. Embed `tools/autounattend.xml` as `$WinUtilAutounattendXml`.
|
||||||
|
9. Append `scripts/main.ps1`.
|
||||||
|
10. Write the combined script to `winutil.ps1`.
|
||||||
|
11. If `-Run` is supplied, execute the generated script.
|
||||||
|
|
||||||
|
The generated script must have everything it needs from repository sources embedded or appended by this process.
|
||||||
|
|
||||||
|
## Runtime Model
|
||||||
|
|
||||||
|
- WinUtil runs in PowerShell on Windows and uses WPF for the UI.
|
||||||
|
- Shared mutable state is stored in `$sync`, including configs, UI element references, runspace state, selections, and progress.
|
||||||
|
- Long-running operations should use runspaces or existing async patterns so the UI remains responsive.
|
||||||
|
- UI updates from background work must be dispatched back to the WPF UI thread.
|
||||||
|
- Declarative features such as apps, tweaks, presets, DNS providers, and navigation should stay in `config/*.json` unless code is required.
|
||||||
|
|
||||||
|
## UI And Event Contract
|
||||||
|
|
||||||
|
- UI layout lives in `xaml/inputXML.xaml`.
|
||||||
|
- Named WPF controls are discovered and stored in `$sync`.
|
||||||
|
- Button/action wiring follows existing naming conventions, where an element named like `WPFThingButton` maps to a function named like `Invoke-WPFThingButton`.
|
||||||
|
- When adding controls, ensure the XAML name, config key, and PowerShell function names line up with the existing event system.
|
||||||
|
|
||||||
|
## Configuration Contract
|
||||||
|
|
||||||
|
Config files must remain valid JSON and compile cleanly through `ConvertFrom-Json`.
|
||||||
|
|
||||||
|
`config/applications.json` defines installable applications. Each application entry should include the fields expected by tests and UI code, such as package manager IDs, category, display content, description, and link.
|
||||||
|
|
||||||
|
`config/tweaks.json` defines Windows tweaks. Registry and service changes should include original values or original states when applicable so undo workflows can restore user systems.
|
||||||
|
|
||||||
|
Preset and navigation files should reference valid config keys. Avoid renaming config keys unless all presets, UI references, docs, and code paths are updated together.
|
||||||
|
|
||||||
|
## Safety Requirements
|
||||||
|
|
||||||
|
- Registry, service, package manager, Windows Update, AppX removal, and ISO operations can affect the host system. Changes must be explicit, reversible where practical, and consistent with existing logging and confirmation patterns.
|
||||||
|
- Tweak changes should include undo metadata when the schema supports it.
|
||||||
|
- Package installation should prefer existing WinGet and Chocolatey helper functions.
|
||||||
|
- ISO workflows must not modify the user's original ISO file; they should work on copied/mounted content following existing patterns.
|
||||||
|
|
||||||
|
## Testing And CI
|
||||||
|
|
||||||
|
Expected validation for source changes:
|
||||||
|
|
||||||
|
- `.\Compile.ps1` verifies the compiler can generate `winutil.ps1`.
|
||||||
|
- `.\Compile.ps1 -Run` compiles and launches the generated utility for manual GUI verification.
|
||||||
|
- `Install-Module -Name Pester -RequiredVersion 5.8.0 -Scope CurrentUser -Force -SkipPublisherCheck` installs the supported Pester version.
|
||||||
|
- `Import-Module Pester -RequiredVersion 5.8.0 -Force; Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed -CI` runs the Pester suite.
|
||||||
|
- GitHub Actions also runs a compile check and PowerShell Script Analyzer with `lint/PSScriptAnalyser.ps1`.
|
||||||
|
|
||||||
|
The generated `winutil.ps1` may appear locally after compile. It remains ignored build output and must not be committed.
|
||||||
|
|
||||||
|
## Release Artifact
|
||||||
|
|
||||||
|
GitHub Actions is responsible for producing the release `winutil.ps1` from repository sources. A release should be considered valid only if the generated script came from the compile process, not from direct manual edits to `winutil.ps1`.
|
||||||
@@ -21,13 +21,13 @@
|
|||||||
"Description": "Upgrade all applications to the latest version"
|
"Description": "Upgrade all applications to the latest version"
|
||||||
},
|
},
|
||||||
"WingetRadioButton": {
|
"WingetRadioButton": {
|
||||||
"Content": "Winget",
|
"Content": "WinGet",
|
||||||
"Category": "__Package Manager",
|
"Category": "__Package Manager",
|
||||||
"Type": "RadioButton",
|
"Type": "RadioButton",
|
||||||
"GroupName": "PackageManagerGroup",
|
"GroupName": "PackageManagerGroup",
|
||||||
"Checked": true,
|
"Checked": true,
|
||||||
"Order": "1",
|
"Order": "1",
|
||||||
"Description": "Use Winget for package management"
|
"Description": "Use WinGet for package management"
|
||||||
},
|
},
|
||||||
"ChocoRadioButton": {
|
"ChocoRadioButton": {
|
||||||
"Content": "Chocolatey",
|
"Content": "Chocolatey",
|
||||||
@@ -73,12 +73,11 @@
|
|||||||
"Order": "5",
|
"Order": "5",
|
||||||
"Description": "Show the selected applications"
|
"Description": "Show the selected applications"
|
||||||
},
|
},
|
||||||
"WPFToggleFOSSHighlight": {
|
"WPFInstallFOSSInfo": {
|
||||||
"Content": "Highlight FOSS",
|
"Content": "Free and Open Source Software",
|
||||||
"Category": "__Selection",
|
"Category": "__Selection",
|
||||||
"Type": "Toggle",
|
"Type": "Note",
|
||||||
"Checked": true,
|
"Order": "0",
|
||||||
"Order": "6",
|
"Description": "Information about the #FOSS label on application entries"
|
||||||
"Description": "Toggle the green highlight for FOSS applications"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,233 @@
|
|||||||
|
{
|
||||||
|
"WPFAppxMicrosoft_WindowsFeedbackHub": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Feedback Hub",
|
||||||
|
"Description": "Allows users to submit bug reports, feature suggestions, and diagnostic data directly to Microsoft.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsFeedbackHub"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_GetHelp": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Get Help",
|
||||||
|
"Description": "Provides access to automated troubleshooting guides, support documentation, and direct Microsoft customer assistance.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.GetHelp"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_OutlookForWindows": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Outlook for Windows",
|
||||||
|
"Description": "Provides modern email management, calendar scheduling, and contact organization features.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.OutlookForWindows"
|
||||||
|
},
|
||||||
|
"WPFAppxMSTeams": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Microsoft Teams",
|
||||||
|
"Description": "Facilitates instant messaging, video conferencing, file sharing, and workspace collaboration.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MSTeams"
|
||||||
|
},
|
||||||
|
"WPFAppxClipchamp_Clipchamp": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Clipchamp",
|
||||||
|
"Description": "Provides a user-friendly video editor with built-in templates, effects, and timeline editing tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Clipchamp.Clipchamp"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftOfficeHub": {
|
||||||
|
"Category": "Microsoft Apps",
|
||||||
|
"Content": "Microsoft 365",
|
||||||
|
"Description": "Serves as a centralized launcher and dashboard for accessing cloud-based Microsoft 365 apps and recent documents.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.MicrosoftOfficeHub"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_ZuneMusic": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Media Player",
|
||||||
|
"Description": "Plays local audio and video files with modern playlist management and casting capabilities.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.ZuneMusic"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingSearch": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Bing Search",
|
||||||
|
"Description": "Integrates Microsoft Bing search capabilities and web services directly into the operating system.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingSearch"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoftCorporationII_QuickAssist": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Quick Assist",
|
||||||
|
"Description": "Enables secure remote technical support and screen sharing over an internet connection.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MicrosoftCorporationII.QuickAssist"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsDevHome": {
|
||||||
|
"Category": "Developer Tools",
|
||||||
|
"Content": "Dev Home",
|
||||||
|
"Description": "Provides a specialized dashboard for software developer environment setups, repository syncing, and hardware widgets.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Windows.DevHome"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCrossDevice": {
|
||||||
|
"Category": "Microsoft Ecosystem",
|
||||||
|
"Content": "Mobile Devices",
|
||||||
|
"Description": "Manages system-level background connectivity with paired mobile devices. Removing this may disable cross-device features such as phone screen mirroring, file transfer, and mobile hotspot handoff integrated into Windows Settings.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "MicrosoftWindows.CrossDevice"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Todos": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "To Do",
|
||||||
|
"Description": "Creates, tracks, and synchronizes personal tasks, smart lists, and daily reminders.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Todos"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_PowerAutomateDesktop": {
|
||||||
|
"Category": "Developer Tools",
|
||||||
|
"Content": "Power Automate",
|
||||||
|
"Description": "Automates repetitive workflows and desktop tasks using low-code visual scripting.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.PowerAutomateDesktop"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_YourPhone": {
|
||||||
|
"Category": "Microsoft Ecosystem",
|
||||||
|
"Content": "Phone Link",
|
||||||
|
"Description": "Synchronizes text messages, phone notifications, photos, and calls from a mobile device to the desktop.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.YourPhone"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftStickyNotes": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Sticky Notes",
|
||||||
|
"Description": "Creates quick, floating text notes on the desktop that automatically sync across devices.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.MicrosoftStickyNotes"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsSoundRecorder": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Sound Recorder",
|
||||||
|
"Description": "Records and trims live audio inputs with simple microphone adjustment controls.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsSoundRecorder"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsAlarms": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Clock",
|
||||||
|
"Description": "Features world clocks, alarms, countdown timers, stopwatches, and dedicated focus session tracking.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsAlarms"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Paint": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Paint",
|
||||||
|
"Description": "Provides built-in digital sketching, basic image editing, and pixel-level graphic manipulation tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Paint"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsNotepad": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Notepad",
|
||||||
|
"Description": "Provides a lightweight text editor with multi-tab support for plain text files and code snippets.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsNotepad"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_ScreenSketch": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Snipping Tool",
|
||||||
|
"Description": "Captures screenshots or screen recordings with built-in markup, image cropping, and optical character recognition (OCR).",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.ScreenSketch"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Copilot": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Copilot",
|
||||||
|
"Description": "Launches the Microsoft AI companion for contextual answers, creative writing assistance, and intelligent web search.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Copilot"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCalculator": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Calculator",
|
||||||
|
"Description": "Performs standard arithmetic, scientific operations, programming calculations, and unit conversions.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsCalculator"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsCamera": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Camera",
|
||||||
|
"Description": "Captures photographs and records video files via connected webcams or imaging hardware.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.WindowsCamera"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_WindowsPhotos": {
|
||||||
|
"Category": "Utilities & Productivity",
|
||||||
|
"Content": "Photos",
|
||||||
|
"Description": "Organizes, views, and crops local images with basic color adjustment and album creation tools.",
|
||||||
|
"Panel": "0",
|
||||||
|
"PackageId": "Microsoft.Windows.Photos"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingNews": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "News",
|
||||||
|
"Description": "Aggregates breaking news headlines, personalized article feeds, and world current events.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingNews"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_BingWeather": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Weather",
|
||||||
|
"Description": "Displays local real-time weather tracking, radar maps, and historical meteorological forecasts.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.BingWeather"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_GamingApp": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox App",
|
||||||
|
"Description": "Serves as the primary gaming library manager, social community interface, and PC Game Pass dashboard.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.GamingApp"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxGamingOverlay": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Game Bar",
|
||||||
|
"Description": "Provides customizable in-game status widgets, audio balancing sliders, system monitoring tools, and gameplay recording.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxGamingOverlay"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxIdentityProvider": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Identity Provider",
|
||||||
|
"Description": "Manages Xbox network user authentication and background account validation for connected titles. Warning: removing this may break Microsoft account sign-in for non-Xbox games and apps that rely on this authentication pipeline.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxIdentityProvider"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_XboxSpeechToTextOverlay": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox Speech To Text Overlay",
|
||||||
|
"Description": "Provides system-level live accessibility captions and voice-to-text translation for gaming chat networks.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.XboxSpeechToTextOverlay"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_Xbox_TCUI": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Xbox TCUI",
|
||||||
|
"Description": "Provides core account connection UI modules for single sign-on flows within game titles. Warning: removing this may break Microsoft account authentication in games and apps that do not otherwise require the Xbox app.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.Xbox.TCUI"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_StartExperiencesApp": {
|
||||||
|
"Category": "Bing & Web Services",
|
||||||
|
"Content": "Start Experiences App",
|
||||||
|
"Description": "Powers the Windows Widgets board, delivering a personalized feed of news, weather, sports, and finance content.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.StartExperiencesApp"
|
||||||
|
},
|
||||||
|
"WPFAppxMicrosoft_MicrosoftSolitaireCollection": {
|
||||||
|
"Category": "Xbox & Gaming",
|
||||||
|
"Content": "Solitaire Collection",
|
||||||
|
"Description": "Bundles built-in card game modes including Klondike, Spider, FreeCell, Pyramid, and TriPeaks alongside daily challenges.",
|
||||||
|
"Panel": "1",
|
||||||
|
"PackageId": "Microsoft.MicrosoftSolitaireCollection"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"WPFFeaturesdotnet": {
|
"WPFFeaturesdotnet": {
|
||||||
"Content": "All .Net Framework (2,3,4)",
|
"Content": ".NET Framework (Versions 2, 3, 4) - Enable",
|
||||||
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -11,22 +11,29 @@
|
|||||||
"InvokeScript": [],
|
"InvokeScript": [],
|
||||||
"link": "https://winutil.christitus.com/dev/features/features/dotnet"
|
"link": "https://winutil.christitus.com/dev/features/features/dotnet"
|
||||||
},
|
},
|
||||||
|
"WPFFixesNTPPool": {
|
||||||
|
"Content": "NTP Server - Enable",
|
||||||
|
"Description": "Replaces the default Windows NTP server (time.windows.com) with pool.ntp.org for improved time synchronization accuracy and reliability.",
|
||||||
|
"category": "Fixes",
|
||||||
|
"panel": "1",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesNTPPool",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/fixes/ntppool"
|
||||||
|
},
|
||||||
"WPFFeatureshyperv": {
|
"WPFFeatureshyperv": {
|
||||||
"Content": "HyperV Virtualization",
|
"Content": "Hyper-V - Enable",
|
||||||
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"feature": [
|
"feature": [
|
||||||
"Microsoft-Hyper-V-All"
|
"Microsoft-Hyper-V-All"
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
|
||||||
"bcdedit /set hypervisorschedulertype classic"
|
|
||||||
],
|
|
||||||
"link": "https://winutil.christitus.com/dev/features/features/hyperv"
|
"link": "https://winutil.christitus.com/dev/features/features/hyperv"
|
||||||
},
|
},
|
||||||
"WPFFeatureslegacymedia": {
|
"WPFFeatureslegacymedia": {
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
"Content": "Legacy Media Components (WMP, DirectPlay) - Enable",
|
||||||
"Description": "Enables legacy programs from previous versions of windows",
|
"Description": "Enables legacy programs from previous versions of Windows.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"feature": [
|
"feature": [
|
||||||
@@ -39,7 +46,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/legacymedia"
|
"link": "https://winutil.christitus.com/dev/features/features/legacymedia"
|
||||||
},
|
},
|
||||||
"WPFFeaturewsl": {
|
"WPFFeaturewsl": {
|
||||||
"Content": "Windows Subsystem for Linux",
|
"Content": "Windows Subsystem for Linux (WSL) - Enable",
|
||||||
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -51,7 +58,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/wsl"
|
"link": "https://winutil.christitus.com/dev/features/features/wsl"
|
||||||
},
|
},
|
||||||
"WPFFeaturenfs": {
|
"WPFFeaturenfs": {
|
||||||
"Content": "NFS - Network File System",
|
"Content": "Network File System (NFS) - Enable",
|
||||||
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -70,7 +77,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/nfs"
|
"link": "https://winutil.christitus.com/dev/features/features/nfs"
|
||||||
},
|
},
|
||||||
"WPFFeatureRegBackup": {
|
"WPFFeatureRegBackup": {
|
||||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
"Content": "Registry Backup (Daily Task 12:30am) - Enable",
|
||||||
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -87,7 +94,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/regbackup"
|
"link": "https://winutil.christitus.com/dev/features/features/regbackup"
|
||||||
},
|
},
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureEnableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Enable",
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -98,7 +105,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/enablelegacyrecovery"
|
"link": "https://winutil.christitus.com/dev/features/features/enablelegacyrecovery"
|
||||||
},
|
},
|
||||||
"WPFFeatureDisableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Disable",
|
||||||
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -109,7 +116,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/disablelegacyrecovery"
|
"link": "https://winutil.christitus.com/dev/features/features/disablelegacyrecovery"
|
||||||
},
|
},
|
||||||
"WPFFeaturesSandbox": {
|
"WPFFeaturesSandbox": {
|
||||||
"Content": "Windows Sandbox",
|
"Content": "Windows Sandbox - Enable",
|
||||||
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
@@ -128,7 +135,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/features/install"
|
"link": "https://winutil.christitus.com/dev/features/features/install"
|
||||||
},
|
},
|
||||||
"WPFPanelAutologin": {
|
"WPFPanelAutologin": {
|
||||||
"Content": "Set Up Autologin",
|
"Content": "AutoLogon - Run",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -137,7 +144,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/fixes/autologin"
|
"link": "https://winutil.christitus.com/dev/features/fixes/autologin"
|
||||||
},
|
},
|
||||||
"WPFFixesUpdate": {
|
"WPFFixesUpdate": {
|
||||||
"Content": "Reset Windows Update",
|
"Content": "Windows Update - Reset",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -146,7 +153,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/fixes/update"
|
"link": "https://winutil.christitus.com/dev/features/fixes/update"
|
||||||
},
|
},
|
||||||
"WPFFixesNetwork": {
|
"WPFFixesNetwork": {
|
||||||
"Content": "Reset Network",
|
"Content": "Network - Reset",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -155,7 +162,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/fixes/network"
|
"link": "https://winutil.christitus.com/dev/features/fixes/network"
|
||||||
},
|
},
|
||||||
"WPFPanelDISM": {
|
"WPFPanelDISM": {
|
||||||
"Content": "System Corruption Scan",
|
"Content": "System Corruption Scan - Run",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -164,7 +171,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/fixes/dism"
|
"link": "https://winutil.christitus.com/dev/features/fixes/dism"
|
||||||
},
|
},
|
||||||
"WPFFixesWinget": {
|
"WPFFixesWinget": {
|
||||||
"Content": "WinGet Reinstall",
|
"Content": "WinGet - Reinstall",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -172,6 +179,17 @@
|
|||||||
"function": "Invoke-WPFFixesWinget",
|
"function": "Invoke-WPFFixesWinget",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/winget"
|
"link": "https://winutil.christitus.com/dev/features/fixes/winget"
|
||||||
},
|
},
|
||||||
|
"WPFPanelComputer": {
|
||||||
|
"Content": "Computer Management",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"compmgmt.msc"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/computer"
|
||||||
|
},
|
||||||
"WPFPanelControl": {
|
"WPFPanelControl": {
|
||||||
"Content": "Control Panel",
|
"Content": "Control Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
@@ -183,16 +201,16 @@
|
|||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/control"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/control"
|
||||||
},
|
},
|
||||||
"WPFPanelComputer": {
|
"WPFPanelMouse": {
|
||||||
"Content": "Computer Management",
|
"Content": "Mouse Properties",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"compmgmt.msc"
|
"main.cpl"
|
||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/computer"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/mouse"
|
||||||
},
|
},
|
||||||
"WPFPanelNetwork": {
|
"WPFPanelNetwork": {
|
||||||
"Content": "Network Connections",
|
"Content": "Network Connections",
|
||||||
@@ -227,6 +245,17 @@
|
|||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/printer"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/printer"
|
||||||
},
|
},
|
||||||
|
"WPFPanelPrograms": {
|
||||||
|
"Content": "Programs and Features",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"appwiz.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/programs"
|
||||||
|
},
|
||||||
"WPFPanelRegion": {
|
"WPFPanelRegion": {
|
||||||
"Content": "Region",
|
"Content": "Region",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
@@ -238,16 +267,16 @@
|
|||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/region"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/region"
|
||||||
},
|
},
|
||||||
"WPFPanelRestore": {
|
"WPFPanelSecurity": {
|
||||||
"Content": "Windows Restore",
|
"Content": "Security and Maintenance",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"rstrui.exe"
|
"wscui.cpl"
|
||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/restore"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/security"
|
||||||
},
|
},
|
||||||
"WPFPanelSound": {
|
"WPFPanelSound": {
|
||||||
"Content": "Sound Settings",
|
"Content": "Sound Settings",
|
||||||
@@ -282,8 +311,30 @@
|
|||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/timedate"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/timedate"
|
||||||
},
|
},
|
||||||
|
"WPFPanelFirewall": {
|
||||||
|
"Content": "Windows Defender Firewall",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"firewall.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/firewall"
|
||||||
|
},
|
||||||
|
"WPFPanelRestore": {
|
||||||
|
"Content": "Windows Restore",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"rstrui.exe"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/restore"
|
||||||
|
},
|
||||||
"WPFWinUtilInstallPSProfile": {
|
"WPFWinUtilInstallPSProfile": {
|
||||||
"Content": "Install CTT PowerShell Profile",
|
"Content": "CTT PowerShell Profile - Install",
|
||||||
"category": "Powershell Profile Powershell 7+ Only",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -292,7 +343,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/installpsprofile"
|
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/installpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilUninstallPSProfile": {
|
"WPFWinUtilUninstallPSProfile": {
|
||||||
"Content": "Uninstall CTT PowerShell Profile",
|
"Content": "CTT PowerShell Profile - Remove",
|
||||||
"category": "Powershell Profile Powershell 7+ Only",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
@@ -301,7 +352,7 @@
|
|||||||
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/uninstallpsprofile"
|
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/uninstallpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilSSHServer": {
|
"WPFWinUtilSSHServer": {
|
||||||
"Content": "Enable OpenSSH Server",
|
"Content": "OpenSSH Server - Enable",
|
||||||
"category": "Remote Access",
|
"category": "Remote Access",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
|
|||||||
@@ -4,20 +4,58 @@
|
|||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
"WPFTweaksDisableExplorerAutoDiscovery",
|
"WPFTweaksDisableExplorerAutoDiscovery",
|
||||||
"WPFTweaksWPBT",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksDVR",
|
|
||||||
"WPFTweaksLocation",
|
"WPFTweaksLocation",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTelemetry",
|
"WPFTweaksTelemetry",
|
||||||
|
"WPFTweaksDeliveryOptimization",
|
||||||
"WPFTweaksDiskCleanup",
|
"WPFTweaksDiskCleanup",
|
||||||
"WPFTweaksDeleteTempFiles",
|
"WPFTweaksDeleteTempFiles",
|
||||||
"WPFTweaksEndTaskOnTaskbar",
|
"WPFTweaksEndTaskOnTaskbar",
|
||||||
"WPFTweaksRestorePoint",
|
"WPFTweaksRestorePoint"
|
||||||
"WPFTweaksPowershell7Tele"
|
|
||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
"WPFTweaksWPBT",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTelemetry"
|
"WPFTweaksTelemetry"
|
||||||
|
],
|
||||||
|
"Advanced": [
|
||||||
|
"WPFTweaksRestorePoint",
|
||||||
|
"WPFTweaksActivity",
|
||||||
|
"WPFTweaksConsumerFeatures",
|
||||||
|
"WPFTweaksDisableExplorerAutoDiscovery",
|
||||||
|
"WPFTweaksWPBT",
|
||||||
|
"WPFTweaksLocation",
|
||||||
|
"WPFTweaksServices",
|
||||||
|
"WPFTweaksTelemetry",
|
||||||
|
"WPFTweaksDeliveryOptimization",
|
||||||
|
"WPFTweaksDeleteTempFiles",
|
||||||
|
"WPFTweaksEndTaskOnTaskbar",
|
||||||
|
"WPFTweaksDisableStoreSearch",
|
||||||
|
"WPFTweaksRevertStartMenu",
|
||||||
|
"WPFTweaksWidget",
|
||||||
|
"WPFTweaksRemoveOneDrive",
|
||||||
|
"WPFTweaksWindowsAI",
|
||||||
|
"WPFTweaksRightClickMenu"
|
||||||
|
],
|
||||||
|
"AppxDefault": [
|
||||||
|
"WPFAppxMicrosoft_WindowsFeedbackHub",
|
||||||
|
"WPFAppxMicrosoft_GetHelp",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftOfficeHub",
|
||||||
|
"WPFAppxMicrosoft_WindowsCalculator",
|
||||||
|
"WPFAppxClipchamp_Clipchamp",
|
||||||
|
"WPFAppxMicrosoft_WindowsAlarms",
|
||||||
|
"WPFAppxMicrosoftCorporationII_QuickAssist",
|
||||||
|
"WPFAppxMicrosoft_WindowsSoundRecorder",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftStickyNotes",
|
||||||
|
"WPFAppxMicrosoft_Todos",
|
||||||
|
"WPFAppxMicrosoft_MicrosoftSolitaireCollection",
|
||||||
|
"WPFAppxMicrosoft_PowerAutomateDesktop",
|
||||||
|
"WPFAppxMicrosoft_WindowsDevHome",
|
||||||
|
"WPFAppxMicrosoft_BingWeather",
|
||||||
|
"WPFAppxMicrosoft_StartExperiencesApp",
|
||||||
|
"WPFAppxMicrosoft_BingNews",
|
||||||
|
"WPFAppxMicrosoft_Copilot",
|
||||||
|
"WPFAppxMicrosoft_BingSearch"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,127 +1,129 @@
|
|||||||
{
|
{
|
||||||
"shared":{
|
"shared": {
|
||||||
"AppEntryWidth": "200",
|
"AppEntryWidth": "220",
|
||||||
"AppEntryFontSize": "11",
|
"AppEntryFontSize": "13.2",
|
||||||
"AppEntryMargin": "1,0,1,0",
|
"AppEntryIconSize": "28",
|
||||||
"AppEntryBorderThickness": "0",
|
"AppEntryMargin": "3",
|
||||||
"CustomDialogFontSize": "12",
|
"AppEntryBorderThickness": "1",
|
||||||
"CustomDialogFontSizeHeader": "14",
|
"CustomDialogFontSize": "12",
|
||||||
"CustomDialogLogoSize": "25",
|
"CustomDialogFontSizeHeader": "14",
|
||||||
"CustomDialogWidth": "400",
|
"CustomDialogLogoSize": "25",
|
||||||
"CustomDialogHeight": "200",
|
"CustomDialogWidth": "400",
|
||||||
"FontSize": "12",
|
"CustomDialogHeight": "200",
|
||||||
"FontFamily": "Arial",
|
"FontSize": "12",
|
||||||
"HeaderFontSize": "16",
|
"FontFamily": "Arial",
|
||||||
"HeaderFontFamily": "Consolas, Monaco",
|
"HeaderFontSize": "16",
|
||||||
"CheckBoxBulletDecoratorSize": "14",
|
"HeaderFontFamily": "Consolas, Monaco",
|
||||||
"CheckBoxMargin": "15,0,0,2",
|
"CheckBoxBulletDecoratorSize": "14",
|
||||||
"TabContentMargin": "5",
|
"CheckBoxMargin": "15,0,0,2",
|
||||||
"TabButtonFontSize": "14",
|
"TabContentMargin": "5",
|
||||||
"TabButtonWidth": "110",
|
"TabButtonFontSize": "14",
|
||||||
"TabButtonHeight": "26",
|
"TabButtonWidth": "110",
|
||||||
"TabRowHeightInPixels": "50",
|
"TabButtonHeight": "26",
|
||||||
"ToolTipWidth": "300",
|
"TabRowHeightInPixels": "50",
|
||||||
"IconFontSize": "14",
|
"ToolTipWidth": "300",
|
||||||
"IconButtonSize": "35",
|
"IconFontSize": "14",
|
||||||
"SettingsIconFontSize": "18",
|
"IconButtonSize": "35",
|
||||||
"CloseIconFontSize": "18",
|
"SettingsIconFontSize": "18",
|
||||||
"GroupBorderBackgroundColor": "#232629",
|
"CloseIconFontSize": "18",
|
||||||
"ButtonFontSize": "12",
|
"GroupBorderBackgroundColor": "#232629",
|
||||||
"ButtonFontFamily": "Arial",
|
"ButtonFontSize": "12",
|
||||||
"ButtonWidth": "200",
|
"ButtonFontFamily": "Arial",
|
||||||
"ButtonHeight": "25",
|
"ButtonWidth": "200",
|
||||||
"ConfigTabButtonFontSize": "14",
|
"ButtonHeight": "25",
|
||||||
"ConfigUpdateButtonFontSize": "14",
|
"ConfigTabButtonFontSize": "14",
|
||||||
"SearchBarWidth": "200",
|
"ConfigUpdateButtonFontSize": "14",
|
||||||
"SearchBarHeight": "26",
|
"SearchBarWidth": "200",
|
||||||
"SearchBarTextBoxFontSize": "12",
|
"SearchBarHeight": "26",
|
||||||
"SearchBarClearButtonFontSize": "14",
|
"SearchBarTextBoxFontSize": "12",
|
||||||
"CheckboxMouseOverColor": "#999999",
|
"SearchBarClearButtonFontSize": "14",
|
||||||
"ButtonBorderThickness": "1",
|
"CheckboxMouseOverColor": "#999999",
|
||||||
"ButtonMargin": "1",
|
"ButtonBorderThickness": "1",
|
||||||
"ButtonCornerRadius": "2"
|
"ButtonMargin": "1",
|
||||||
},
|
"ButtonCornerRadius": "2"
|
||||||
"Light": {
|
},
|
||||||
"AppInstallUnselectedColor": "#F7F7F7",
|
"Light": {
|
||||||
"AppInstallHighlightedColor": "#CFCFCF",
|
"AppInstallUnselectedColor": "#F7F7F7",
|
||||||
"AppInstallSelectedColor": "#C2C2C2",
|
"AppInstallHighlightedColor": "#CFCFCF",
|
||||||
"AppInstallOverlayBackgroundColor":"#6A6D72",
|
"AppInstallSelectedColor": "#C2C2C2",
|
||||||
"ComboBoxForegroundColor": "#232629",
|
"AppInstallOverlayBackgroundColor": "#6A6D72",
|
||||||
"ComboBoxBackgroundColor": "#F7F7F7",
|
"ComboBoxForegroundColor": "#232629",
|
||||||
"LabelboxForegroundColor": "#232629",
|
"ComboBoxBackgroundColor": "#F7F7F7",
|
||||||
"MainForegroundColor": "#232629",
|
"LabelboxForegroundColor": "#232629",
|
||||||
"MainBackgroundColor": "#F7F7F7",
|
"MainForegroundColor": "#232629",
|
||||||
"LabelBackgroundColor": "#F7F7F7",
|
"MainBackgroundColor": "#F7F7F7",
|
||||||
"LinkForegroundColor": "#484848",
|
"LabelBackgroundColor": "#F7F7F7",
|
||||||
"LinkHoverForegroundColor": "#232629",
|
"LinkForegroundColor": "#484848",
|
||||||
"ScrollBarBackgroundColor": "#4A4D52",
|
"LinkHoverForegroundColor": "#232629",
|
||||||
"ScrollBarHoverColor": "#5A5D62",
|
"ScrollBarBackgroundColor": "#4A4D52",
|
||||||
"ScrollBarDraggingColor": "#6A6D72",
|
"ScrollBarHoverColor": "#5A5D62",
|
||||||
|
"ScrollBarDraggingColor": "#6A6D72",
|
||||||
"ProgressBarForegroundColor": "#2e77ff",
|
"ProgressBarForegroundColor": "#2E77FF",
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#232629",
|
"ProgressBarTextColor": "#232629",
|
||||||
"ButtonInstallBackgroundColor": "#F7F7F7",
|
"ButtonInstallBackgroundColor": "#F7F7F7",
|
||||||
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
||||||
"ButtonConfigBackgroundColor": "#F7F7F7",
|
"ButtonConfigBackgroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
||||||
"ButtonWin11ISOBackgroundColor": "#F7F7F7",
|
"ButtonWin11ISOBackgroundColor": "#F7F7F7",
|
||||||
"ButtonInstallForegroundColor": "#232629",
|
"ButtonAppxBackgroundColor": "#F7F7F7",
|
||||||
"ButtonTweaksForegroundColor": "#232629",
|
"ButtonInstallForegroundColor": "#232629",
|
||||||
"ButtonConfigForegroundColor": "#232629",
|
"ButtonTweaksForegroundColor": "#232629",
|
||||||
"ButtonUpdatesForegroundColor": "#232629",
|
"ButtonConfigForegroundColor": "#232629",
|
||||||
"ButtonWin11ISOForegroundColor": "#232629",
|
"ButtonUpdatesForegroundColor": "#232629",
|
||||||
"ButtonBackgroundColor": "#F5F5F5",
|
"ButtonWin11ISOForegroundColor": "#232629",
|
||||||
"ButtonBackgroundPressedColor": "#1A1A1A",
|
"ButtonAppxForegroundColor": "#232629",
|
||||||
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
"ButtonBackgroundColor": "#F5F5F5",
|
||||||
"ButtonBackgroundSelectedColor": "#F0F0F0",
|
"ButtonBackgroundPressedColor": "#1A1A1A",
|
||||||
"ButtonForegroundColor": "#232629",
|
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
||||||
"ToggleButtonOnColor": "#2e77ff",
|
"ButtonBackgroundSelectedColor": "#F0F0F0",
|
||||||
"ToggleButtonOffColor": "#707070",
|
"ButtonForegroundColor": "#232629",
|
||||||
"ToolTipBackgroundColor": "#F7F7F7",
|
"ToggleButtonOnColor": "#2E77FF",
|
||||||
"BorderColor": "#232629",
|
"ToggleButtonOffColor": "#707070",
|
||||||
"BorderOpacity": "0.2"
|
"ToolTipBackgroundColor": "#F7F7F7",
|
||||||
|
"BorderColor": "#232629",
|
||||||
},
|
"BorderOpacity": "0.2"
|
||||||
"Dark": {
|
},
|
||||||
"AppInstallUnselectedColor": "#232629",
|
"Dark": {
|
||||||
"AppInstallHighlightedColor": "#3C3C3C",
|
"AppInstallUnselectedColor": "#232629",
|
||||||
"AppInstallSelectedColor": "#4C4C4C",
|
"AppInstallHighlightedColor": "#3C3C3C",
|
||||||
"AppInstallOverlayBackgroundColor":"#2E3135",
|
"AppInstallSelectedColor": "#4C4C4C",
|
||||||
"ComboBoxForegroundColor": "#F7F7F7",
|
"AppInstallOverlayBackgroundColor": "#2E3135",
|
||||||
"ComboBoxBackgroundColor": "#1E3747",
|
"ComboBoxForegroundColor": "#F7F7F7",
|
||||||
"LabelboxForegroundColor": "#5bdcff",
|
"ComboBoxBackgroundColor": "#1E3747",
|
||||||
"MainForegroundColor": "#F7F7F7",
|
"LabelboxForegroundColor": "#5BDCFF",
|
||||||
"MainBackgroundColor": "#232629",
|
"MainForegroundColor": "#F7F7F7",
|
||||||
"LabelBackgroundColor": "#232629",
|
"MainBackgroundColor": "#232629",
|
||||||
"LinkForegroundColor": "#add8e6",
|
"LabelBackgroundColor": "#232629",
|
||||||
"LinkHoverForegroundColor": "#F7F7F7",
|
"LinkForegroundColor": "#ADD8E6",
|
||||||
"ScrollBarBackgroundColor": "#2E3135",
|
"LinkHoverForegroundColor": "#F7F7F7",
|
||||||
"ScrollBarHoverColor": "#3B4252",
|
"ScrollBarBackgroundColor": "#2E3135",
|
||||||
"ScrollBarDraggingColor": "#5E81AC",
|
"ScrollBarHoverColor": "#3B4252",
|
||||||
|
"ScrollBarDraggingColor": "#5E81AC",
|
||||||
"ProgressBarForegroundColor": "#222222",
|
"ProgressBarForegroundColor": "#222222",
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#232629",
|
"ProgressBarTextColor": "#232629",
|
||||||
"ButtonInstallBackgroundColor": "#222222",
|
"ButtonInstallBackgroundColor": "#222222",
|
||||||
"ButtonTweaksBackgroundColor": "#333333",
|
"ButtonTweaksBackgroundColor": "#333333",
|
||||||
"ButtonConfigBackgroundColor": "#444444",
|
"ButtonConfigBackgroundColor": "#444444",
|
||||||
"ButtonUpdatesBackgroundColor": "#555555",
|
"ButtonUpdatesBackgroundColor": "#555555",
|
||||||
"ButtonWin11ISOBackgroundColor": "#666666",
|
"ButtonWin11ISOBackgroundColor": "#666666",
|
||||||
"ButtonInstallForegroundColor": "#F7F7F7",
|
"ButtonAppxBackgroundColor": "#777777",
|
||||||
"ButtonTweaksForegroundColor": "#F7F7F7",
|
"ButtonInstallForegroundColor": "#F7F7F7",
|
||||||
"ButtonConfigForegroundColor": "#F7F7F7",
|
"ButtonTweaksForegroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
"ButtonConfigForegroundColor": "#F7F7F7",
|
||||||
"ButtonWin11ISOForegroundColor": "#F7F7F7",
|
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
||||||
"ButtonBackgroundColor": "#1E3747",
|
"ButtonWin11ISOForegroundColor": "#F7F7F7",
|
||||||
"ButtonBackgroundPressedColor": "#F7F7F7",
|
"ButtonAppxForegroundColor": "#F7F7F7",
|
||||||
"ButtonBackgroundMouseoverColor": "#3B4252",
|
"ButtonBackgroundColor": "#1E3747",
|
||||||
"ButtonBackgroundSelectedColor": "#5E81AC",
|
"ButtonBackgroundPressedColor": "#F7F7F7",
|
||||||
"ButtonForegroundColor": "#F7F7F7",
|
"ButtonBackgroundMouseoverColor": "#3B4252",
|
||||||
"ToggleButtonOnColor": "#2e77ff",
|
"ButtonBackgroundSelectedColor": "#5E81AC",
|
||||||
"ToggleButtonOffColor": "#707070",
|
"ButtonForegroundColor": "#F7F7F7",
|
||||||
"ToolTipBackgroundColor": "#2F373D",
|
"ToggleButtonOnColor": "#2E77FF",
|
||||||
"BorderColor": "#2F373D",
|
"ToggleButtonOffColor": "#707070",
|
||||||
"BorderOpacity": "0.2"
|
"ToolTipBackgroundColor": "#2F373D",
|
||||||
}
|
"BorderColor": "#2F373D",
|
||||||
|
"BorderOpacity": "0.2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 14 MiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
@@ -2,114 +2,152 @@
|
|||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
# How to Contribute?
|
## Contributing Code
|
||||||
|
|
||||||
## Testing
|
### Before You Start
|
||||||
|
|
||||||
* Test the latest changes to Winutil by running the pre-release and reporting issues you are encountering to help us continually improve Winutil!
|
- Keep each pull request focused on a single feature or fix.
|
||||||
|
- Avoid unnecessary formatting changes or large unrelated edits.
|
||||||
|
- Document what changed and why in your PR description.
|
||||||
|
|
||||||
#### **Run the latest pre-release**
|
---
|
||||||
```
|
|
||||||
irm https://christitus.com/windev | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
> [!WARNING]
|
## Basic Git Workflow
|
||||||
> This is a pre-release and should be treated as such. It exists for developers to test the utility and report or fix bugs before they get added to the stable release. Don't use it in production!
|
|
||||||
|
|
||||||
## Issues
|
### 1. Fork the Repository
|
||||||
|
|
||||||
* 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.
|
Go to the ChrisTitusTech/winutil repository on GitHub and click the Fork button in the top right corner.
|
||||||
|
|
||||||
## Contribute Code
|
<img width="171" height="50" alt="{650A4723-F38A-44A4-9820-D232BC87C8A0}" src="https://github.com/user-attachments/assets/a214f27c-2fee-444a-920f-d87b14f5896f" />
|
||||||
|
|
||||||
* 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 `main` branch, but I am very selective about these.
|
### 2. Clone Your Fork
|
||||||
|
|
||||||
> [!IMPORTANT]
|
```bash
|
||||||
> Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN PULL REQUEST!
|
git clone https://github.com/YOUR_USERNAME/winutil.git
|
||||||
|
cd winutil
|
||||||
* 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 `tweaks` section and corresponding `undo 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.
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> When creating a function, please include "WPF" or "Winutil" in the file name so it can be loaded into the runspace.
|
|
||||||
|
|
||||||
## Walk through
|
|
||||||
|
|
||||||
* This is a guide for beginners. If you are still having issues, look at the following official GitHub documentation:
|
|
||||||
* [Commit through WEB](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/about-commits)
|
|
||||||
* [Commit through GitHub Desktop](https://docs.github.com/en/desktop/making-changes-in-a-branch/committing-and-reviewing-changes-to-your-project-in-github-desktop#about-commits)
|
|
||||||
* [Create a Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
|
||||||
|
|
||||||
|
|
||||||
### Overview
|
|
||||||
|
|
||||||
``` mermaid
|
|
||||||
%%{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;
|
|
||||||
```
|
```
|
||||||
> [!NOTE]
|
|
||||||
> This is a diagram to guide you through the process. It may vary depending on the type of change you're making.
|
|
||||||
|
|
||||||
### Fork the Repo
|
---
|
||||||
* Fork the Winutil Repository [here](https://github.com/ChrisTitusTech/Winutil) to create a copy that will be available in your repository list.
|
|
||||||
|
|
||||||
{{< image src="images/Fork-Button" alt="Fork Image" >}}
|
### 3. Create a Branch
|
||||||
|
|
||||||
### Clone the Fork
|
Never work directly on `main`.
|
||||||
|
|
||||||
> [!TIP]
|
Create a branch related to your change:
|
||||||
> While you can make your changes directly through the Web, we recommend cloning the repo to your device using the application GitHub Desktop (available in Winutil) to test your fork easily.
|
|
||||||
|
|
||||||
* Install GitHub Desktop if it is not already installed.
|
```bash
|
||||||
* Log in using the same GitHub account you used to fork Winutil.
|
git checkout -b feature-name
|
||||||
* 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.
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git checkout -b add-firefox-tweak
|
||||||
|
```
|
||||||
|
|
||||||
### Testing your changes
|
---
|
||||||
|
|
||||||
* To test to see if your changes work as intended run following commands in a powershell teminal as admin:
|
### 4. Edit the Code
|
||||||
|
|
||||||
* Change the directory where you are running the commands to the forked project.
|
Open the project in your preferred text editor and make your changes.
|
||||||
* `cd {path to the folder with the compile.ps1}`
|
|
||||||
* Run the following command to compile and run Winutil:
|
|
||||||
* `.\Compile.ps1 -run`
|
|
||||||
|
|
||||||
{{< image src="images/Compile" alt="Compile" >}}
|
Keep changes small and focused.
|
||||||
|
|
||||||
* 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
|
### 5. Test Your Changes
|
||||||
* Before committing your changes, please discard changes made to the `Winutil.ps1` file, like the following:
|
|
||||||
|
|
||||||
{{< image src="images/Discard-GHD" alt="Push Commit Image" >}}
|
Open PowerShell as Administrator.
|
||||||
|
|
||||||
* Now, commit your changes once you are happy with the result.
|
Go to the project folder:
|
||||||
|
|
||||||
{{< image src="images/Commit-GHD" alt="Commit Image" >}}
|
```powershell
|
||||||
|
cd path\to\winutil
|
||||||
|
```
|
||||||
|
|
||||||
* Push the changes to upload them to your fork on github.com.
|
Run:
|
||||||
|
|
||||||
{{< image src="images/Push-Commit" alt="Push Commit Image" >}}
|
```powershell
|
||||||
|
.\Compile.ps1 -Run
|
||||||
|
```
|
||||||
|
|
||||||
### Making a PR
|
Verify:
|
||||||
* 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 not a 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.
|
- WinUtil launches correctly
|
||||||
* Congratulations! You just submitted your first PR. Thank you so much for contributing to Winutil.
|
- Your feature works
|
||||||
|
- Nothing else breaks
|
||||||
|
|
||||||
|
If something fails, fix it before committing.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 6. Review Your Changes
|
||||||
|
|
||||||
|
Check what changed:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git status
|
||||||
|
```
|
||||||
|
|
||||||
|
Review the diff:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git diff
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure you did not accidentally modify unrelated files.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 7. Commit Your Changes
|
||||||
|
|
||||||
|
Stage files:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git add .
|
||||||
|
```
|
||||||
|
|
||||||
|
Commit them:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git commit -m "Add feature description"
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git commit -m "Add Firefox package tweak"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 8. Push Your Branch
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push origin branch-name
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push origin add-firefox-tweak
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 9. Open a Pull Request
|
||||||
|
|
||||||
|
Go to your fork on GitHub.
|
||||||
|
|
||||||
|
GitHub will show a button to create a pull request.
|
||||||
|
<img width="1009" height="71" alt="{C8C6A3CC-79D4-44FD-A54C-4C5717F12730}" src="https://github.com/user-attachments/assets/0419d193-d4e7-47c0-87cf-b986742201a0" />
|
||||||
|
|
||||||
|
Before submitting:
|
||||||
|
|
||||||
|
- Explain what changed
|
||||||
|
- Explain why you changed it
|
||||||
|
- Make sure unrelated files are not included
|
||||||
|
|
||||||
|
Once submitted, maintainers will review your PR.
|
||||||
|
|||||||
@@ -5,189 +5,43 @@ toc: true
|
|||||||
|
|
||||||
### Download not working
|
### Download not working
|
||||||
|
|
||||||
If `https://christitus.com/win` is not working, or you want to download the code from GitHub directly, you can use the direct download link:
|
If you run WinUtil and get an error like:
|
||||||
|
|
||||||
```
|
`< : The term '<' is not recognized as the name of a cmdlet, function, script file, or operable program.`
|
||||||
irm https://github.com/ChrisTitusTech/Winutil/releases/latest/download/Winutil.ps1 | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
If you are seeing errors referencing TLS or security, you may be running an older version of Windows where TLS 1.2 is not the default security protocol used for network connections. The following commands will force .NET to use TLS 1.2, and download the script directly using .NET instead of PowerShell:
|
try using a **VPN** and if that doesn't work than report the issue to https://github.com/ChrisTitusTech/winutil/issues
|
||||||
|
|
||||||
```
|
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
|
||||||
iex https://christitus.com/win | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
If it still isn't working and you live in India, it might be due to India blocking GitHub's content domain and preventing downloads. See more on [Times of India](https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-reports/articleshow/96687992.cms).
|
|
||||||
|
|
||||||
If you are still having issues, try using a **VPN**, or changing your **DNS provider** to one of following two providers:
|
|
||||||
|
|
||||||
| Provider | Primary DNS | Secondary DNS |
|
|
||||||
| :--------: | :---------: | :-----------: |
|
|
||||||
| Cloudflare | `1.1.1.1` | `1.0.0.1` |
|
|
||||||
| Google | `8.8.8.8` | `8.8.4.4` |
|
|
||||||
|
|
||||||
### Script Won't Run
|
### Script Won't Run
|
||||||
|
|
||||||
If your PowerShell session is running in **Constrained Language Mode**, some scripts and commands may fail to execute. To check the current language mode, run:
|
If you run WinUtil and get the error:
|
||||||
|
|
||||||
|
`"WinUtil is unable to run on your system. PowerShell execution is restricted by security policies"`
|
||||||
|
|
||||||
|
this means that your PowerShell session is in **Constrained Language Mode**, which prevents WinUtil from running.
|
||||||
|
|
||||||
|
### Ultimate Performance Plan Not Working
|
||||||
|
|
||||||
|
The Ultimate Performance power plan may not work on some laptops that do not fully support this power plan.
|
||||||
|
|
||||||
|
In these cases, the power plan may fail to apply, This is expected behavior on unsupported hardware.
|
||||||
|
|
||||||
|
### Revert start menu tweak not working
|
||||||
|
|
||||||
|
Revert start menu tweak stops working starting with **Windows 11 update KB5089573** (released in May 2026).
|
||||||
|
|
||||||
|
In this update, Microsoft completely removed the old Start Menu code from Windows, so we aren't able to bring it back.
|
||||||
|
|
||||||
|
### Issues with PowerShell 7 or Class not registered Error
|
||||||
|
Installing PowerShell 7 from the Microsoft Store (MSIX package) is known to cause issues with DISM cmdlets such as `Get-WindowsOptionalFeature` and `Enable-WindowsOptionalFeature`, resulting in a `Class not registered` COM error.
|
||||||
|
|
||||||
|
This might also make it so running the "pre-installed app removal" will take a indefinite amount of time
|
||||||
|
|
||||||
|
Instead, install PowerShell 7 using one of the following methods:
|
||||||
|
|
||||||
|
**winget (recommended):**
|
||||||
```powershell
|
```powershell
|
||||||
$ExecutionContext.SessionState.LanguageMode
|
winget install --id Microsoft.PowerShell --source winget --installer-type wix
|
||||||
```
|
```
|
||||||
If it returns `ConstrainedLanguage`, you may need to switch to `FullLanguage` mode or run the script in a session with administrative privileges. Be aware that some security policies may enforce Constrained Language Mode, especially in corporate or managed environments.
|
**Direct MSI from GitHub Releases:** Download the `.msi` installer from the [PowerShell GitHub Releases](https://github.com/PowerShell/PowerShell/releases) page.
|
||||||
|
|
||||||
### Script blocked by Execution Policy
|
For more details see https://github.com/PowerShell/PowerShell/issues/13866
|
||||||
|
|
||||||
1. Ensure you are running PowerShell as admin: Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
2. In the PowerShell window, type this to allow unsigned code to execute and run the installation script:
|
|
||||||
|
|
||||||
```
|
|
||||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
|
||||||
irm https://christitus.com/win | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
## Runtime Issues
|
|
||||||
|
|
||||||
### WinGet configuration
|
|
||||||
|
|
||||||
If you have not installed anything using PowerShell before, you may be prompted to configure WinGet. This requires user interaction on first run. You will need to manually type `y` into the PowerShell console and press enter to continue. Once you do it the first time, you will not be prompted again.
|
|
||||||
|
|
||||||
## Windows Issues
|
|
||||||
|
|
||||||
### Windows takes longer to shut down
|
|
||||||
|
|
||||||
This could be for a number of reasons:
|
|
||||||
|
|
||||||
- Turn on fast startup: Press `Windows key`+`R`, then type:
|
|
||||||
|
|
||||||
```bat
|
|
||||||
control /name Microsoft.PowerOptions /page pageGlobalSettings
|
|
||||||
```
|
|
||||||
|
|
||||||
If that doesn't work, disable Hibernation:
|
|
||||||
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11. then type:
|
|
||||||
|
|
||||||
```bat
|
|
||||||
powercfg /H off
|
|
||||||
```
|
|
||||||
|
|
||||||
Related issue: [#69](https://github.com/ChrisTitusTech/Winutil/issues/69)
|
|
||||||
|
|
||||||
### Windows Search does not work
|
|
||||||
|
|
||||||
Enable Background Apps. Related issues: [#69](https://github.com/ChrisTitusTech/Winutil/issues/69) [#95](https://github.com/ChrisTitusTech/Winutil/issues/95) [#232](https://github.com/ChrisTitusTech/Winutil/issues/232)
|
|
||||||
|
|
||||||
### Xbox Game Bar Activation Broken
|
|
||||||
|
|
||||||
Set the Xbox Accessory Management Service to Automatic:
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic
|
|
||||||
```
|
|
||||||
|
|
||||||
Related issue: [#198](https://github.com/ChrisTitusTech/Winutil/issues/198)
|
|
||||||
|
|
||||||
### Windows 11: Quick Settings no longer works
|
|
||||||
|
|
||||||
Launch the Script and click _Enable Action Center_.
|
|
||||||
|
|
||||||
### Explorer (file browser) no longer launches
|
|
||||||
|
|
||||||
- Press `Windows key`+`R` then type:
|
|
||||||
|
|
||||||
```bat
|
|
||||||
control /name Microsoft.FolderOptions
|
|
||||||
```
|
|
||||||
|
|
||||||
- Change the _Open File Explorer to_ option to _This PC_.
|
|
||||||
|
|
||||||
### Battery drains too fast
|
|
||||||
|
|
||||||
If you're using a laptop or tablet and find your battery drains too fast, please try the below troubleshooting steps, and report the results back to the Winutil community.
|
|
||||||
|
|
||||||
1. **Check Battery Health:**
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Run the following command to generate a battery report:
|
|
||||||
```powershell
|
|
||||||
powercfg /batteryreport /output "C:\battery_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to review information about battery health and usage. A battery with poor health may hold less charge, discharge faster, or cause other issues.
|
|
||||||
|
|
||||||
2. **Review Power Settings:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Power & sleep_.
|
|
||||||
- Adjust power plan settings based on your preferences and usage patterns.
|
|
||||||
- Click on _Additional power settings_ to access advanced power settings that may help.
|
|
||||||
|
|
||||||
3. **Identify Power-Hungry Apps:**
|
|
||||||
- Right-click on the taskbar and select _Task Manager_.
|
|
||||||
- Navigate to the _Processes_ tab to identify applications with high CPU or memory usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
4. **Update Drivers:**
|
|
||||||
- Visit your device manufacturer's website or use Windows Update to check for driver updates.
|
|
||||||
- Ensure graphics, chipset, and other essential drivers are up to date.
|
|
||||||
|
|
||||||
5. **Check for Windows Updates:**
|
|
||||||
- Open the Settings app, and go to _Update & Security_ > _Windows Update_.
|
|
||||||
- Check for and install any available updates for your operating system.
|
|
||||||
|
|
||||||
6. **Reduce Screen Brightness:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Display_.
|
|
||||||
- Adjust screen brightness based on your preferences and lighting conditions.
|
|
||||||
|
|
||||||
7. **Enable Battery Saver:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Battery_.
|
|
||||||
- Turn on _Battery saver_ to limit background activity and conserve power.
|
|
||||||
|
|
||||||
8. **Check Power Usage in Settings:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Battery_ > _Battery usage by app_.
|
|
||||||
- Review the list of apps and their power usage. Disable or uninstall any you don't need.
|
|
||||||
|
|
||||||
9. **Check Background Apps:**
|
|
||||||
- Open the Settings app, and go to _Privacy_ > _Background apps_.
|
|
||||||
- Disable or uninstall unnecessary apps running in the background.
|
|
||||||
|
|
||||||
10. **Use `powercfg` for Analysis:**
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Run the following command to analyze energy usage and generate a report:
|
|
||||||
```powershell
|
|
||||||
powercfg /energy /output "C:\energy_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to identify energy consumption patterns.
|
|
||||||
|
|
||||||
11. **Review Event Logs:**
|
|
||||||
- Open Event Viewer by searching for it in the Start menu.
|
|
||||||
- Navigate to _Windows Logs_ > _System_.
|
|
||||||
- Look for events with the source _Power-Troubleshooter_ to identify power-related events. These may highlight battery, input power, and other issues.
|
|
||||||
|
|
||||||
12. **Check Wake-up Sources:**
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Use the command `powercfg /requests` to identify processes preventing sleep.
|
|
||||||
- Use the command `powercfg /waketimers` to view active wake timers.
|
|
||||||
- Check Task Scheduler to see if any of the discovered processes are scheduled to start on boot or at regular intervals.
|
|
||||||
|
|
||||||
13. **Advanced Identification of Power-Hungry Apps:**
|
|
||||||
- Open Resource Monitor from the Start menu.
|
|
||||||
- Navigate to the _CPU_, _Memory_, _Network_, and other tabs to identify processes with high resource usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
14. **Disable Activity History:**
|
|
||||||
- Open the Settings app, and go to _Privacy_ > _Activity history_.
|
|
||||||
- Turn off _Let Windows collect my activities from this PC_.
|
|
||||||
|
|
||||||
15. **Prevent Network Adapters From Waking PC:**
|
|
||||||
- Open Device Manager by searching for it in the Start menu.
|
|
||||||
- Locate your network adapter, right-click, and go to _Properties_.
|
|
||||||
- Under the _Power Management_ tab, uncheck the option that allows the device to wake the computer.
|
|
||||||
|
|
||||||
16. **Review Installed Applications:**
|
|
||||||
- Manually review installed applications by searching for _Add or remove programs_ in the Start menu.
|
|
||||||
- Check settings/preferences of individual applications for power-related options.
|
|
||||||
- Uninstall unnecessary or problematic software.
|
|
||||||
|
|
||||||
These troubleshooting steps are generic, but should help in most situations. You should have these key takeaways:
|
|
||||||
|
|
||||||
- Battery health is the most significant limiter on your device's runtime. A battery in poor health usually cannot be made to last like it used to, simply by closing some applications. Consider replacing your battery.
|
|
||||||
- Background applications that use CPU and memory, make lots of or large network requests, read/write to disk frequently, or that keep your PC awake when it could be conserving energy are the next major concern. Avoid installing programs you don't need, only use programs you trust, and configure applications to use as little power and run as infrequently as possible.
|
|
||||||
- Windows performs a lot of tasks that may affect battery life by default. Changing settings, stopping scheduled tasks, and disabling features can help the system stay in lower power states to conserve battery.
|
|
||||||
- Bad chargers, inconsistent power input, and high temperatures will cause batteries to degrade and discharge faster. Use trusted high-quality chargers, ensure input power is steady, clean any fans or airflow ports, and keep the battery/PC cool.
|
|
||||||
|
|||||||
@@ -1,20 +1,22 @@
|
|||||||
---
|
---
|
||||||
title: Welcome to Winutil Documentation!
|
title: Welcome to WinUtil Documentation!
|
||||||
toc: false
|
toc: false
|
||||||
width: full
|
width: full
|
||||||
---
|
---
|
||||||
|
|
||||||
<div style="display: flex; justify-content: center; align-items: center; width: 100%; flex-wrap: wrap; gap: 5px;margin-top:30px;" >
|
<div style="display: flex; justify-content: center; align-items: center; width: 100%; flex-wrap: wrap; gap: 5px;margin-top:30px;" >
|
||||||
<a href="https://github.com/ChrisTitusTech/Winutil/releases/latest"><img src="https://img.shields.io/github/v/release/ChrisTitusTech/Winutil?color=%230567ff&label=Latest%20Release&style=for-the-badge" alt="Version" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;"></a>
|
<a href="https://github.com/ChrisTitusTech/winutil/releases/latest"><img src="https://img.shields.io/github/v/release/ChrisTitusTech/winutil?color=%230567ff&label=Latest%20Release&style=for-the-badge" alt="Version" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;"></a>
|
||||||
<img src="https://img.shields.io/github/downloads/ChrisTitusTech/Winutil/Winutil.ps1?label=Total%20Downloads&style=for-the-badge" alt="GitHub Downloads" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;">
|
<img src="https://img.shields.io/github/downloads/ChrisTitusTech/winutil/winutil.ps1?label=Total%20Downloads&style=for-the-badge" alt="GitHub Downloads" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;">
|
||||||
<a href="https://discord.gg/RUbZUZyByQ"><img src="https://dcbadge.limes.pink/api/server/https://discord.gg/RUbZUZyByQ" alt="Discord Community Server" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;"></a>
|
<a href="https://discord.gg/RUbZUZyByQ"><img src="https://dcbadge.limes.pink/api/server/https://discord.gg/RUbZUZyByQ" alt="Discord Community Server" style="height: 28px; width: auto; min-width: 10px; object-fit: contain; margin: 0;"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
Welcome to the official documentation for Winutil, your go-to utility for optimizing and managing your Windows environment. Whether you’re an IT professional, power user, or regular user, Winutil provides a comprehensive set of tools to enhance your Windows experience.
|
Welcome to the official documentation for WinUtil, your go-to utility for optimizing and managing your Windows environment. Whether you’re an IT professional, power user, or regular user, WinUtil provides a comprehensive set of tools to enhance your Windows experience.
|
||||||
|
|
||||||
## Running the latest release of Winutil
|
{{< image src="images/Title-Screen" alt="WinUtil title screen" >}}
|
||||||
|
|
||||||
* You will first need to start a Powershell terminal **as Admin**.
|
## Running the latest release of WinUtil
|
||||||
|
|
||||||
|
* You will first need to start a PowerShell terminal **as Admin**.
|
||||||
* Now you can run the following command:
|
* Now you can run the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -23,4 +25,4 @@ irm "https://christitus.com/win" | iex
|
|||||||
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Winutil is updated frequently as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
|
> WinUtil is updated frequently as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ toc: false
|
|||||||
---
|
---
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> This section contains technical documentation for developers. For end-user documentation, see the [User Guide](../userguide/).
|
> This section contains code-only references. For end-user documentation, see the [User Guide](../userguide/).
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ toc: true
|
|||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Winutil is a PowerShell-based Windows utility with a WPF (Windows Presentation Foundation) GUI. This document explains the architecture, code structure, and how different components work together.
|
WinUtil is a PowerShell-based Windows utility with a WPF (Windows Presentation Foundation) GUI. This document explains the architecture, code structure, and how different components work together.
|
||||||
|
|
||||||
## High-Level Architecture
|
## High-Level Architecture
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ winutil/
|
|||||||
1. Reads all function files from `/functions/`
|
1. Reads all function files from `/functions/`
|
||||||
2. Includes configuration JSON files
|
2. Includes configuration JSON files
|
||||||
3. Embeds XAML GUI definition
|
3. Embeds XAML GUI definition
|
||||||
4. Combines into single script
|
4. Combines into a single script
|
||||||
5. Outputs `winutil.ps1`
|
5. Outputs `winutil.ps1`
|
||||||
|
|
||||||
**Why**: Makes distribution easier (single file) and improves load time.
|
**Why**: Makes distribution easier (single file) and improves load time.
|
||||||
@@ -128,6 +128,154 @@ winutil/
|
|||||||
- CheckBoxes for options
|
- CheckBoxes for options
|
||||||
- ListBoxes for selections
|
- ListBoxes for selections
|
||||||
|
|
||||||
|
## Win11 Creator Architecture
|
||||||
|
|
||||||
|
The **Win11 Creator** is a specialized subsystem within Winutil that creates customized Windows 11 ISOs. It operates independently from the main package installation and tweak system.
|
||||||
|
|
||||||
|
### Win11 Creator Components
|
||||||
|
|
||||||
|
**Core Functions** (`functions/private/`):
|
||||||
|
- `Invoke-WinUtilISO.ps1`: Main orchestrator containing all Win11 Creator functions
|
||||||
|
- `Invoke-WinUtilISOBrowse`: ISO file selection dialog
|
||||||
|
- `Invoke-WinUtilISOMountAndVerify`: Validates and mounts ISO, verifies it's official Windows 11
|
||||||
|
- `Invoke-WinUtilISOModify`: Launches modification in background runspace
|
||||||
|
- `Invoke-WinUtilISOExport`: Handles ISO and USB export
|
||||||
|
- `Invoke-WinUtilISOCheckExistingWork`: Recovers incomplete work sessions
|
||||||
|
- `Invoke-WinUtilISOCleanAndReset`: Cleans up temp directories and resets UI
|
||||||
|
|
||||||
|
- `Invoke-WinUtilISOScript.ps1`: Applies modifications to mounted install.wim
|
||||||
|
- Removes provisioned AppX packages (40+ bloatware apps)
|
||||||
|
- Injects drivers (optional) from the current system
|
||||||
|
- Removes OneDrive setup files
|
||||||
|
- Applies offline registry tweaks (hardware bypass, privacy, telemetry, OOBE)
|
||||||
|
- Deletes telemetry scheduled task definitions
|
||||||
|
- Pre-stages setup scripts from autounattend.xml
|
||||||
|
- Removes unused Windows editions
|
||||||
|
- Cleans component store via DISM
|
||||||
|
|
||||||
|
### Win11 Creator Data Flow
|
||||||
|
|
||||||
|
```
|
||||||
|
User selects official Windows 11 ISO
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOBrowse → OpenFileDialog, validates file size
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOMountAndVerify
|
||||||
|
├─ Mount ISO via Mount-DiskImage
|
||||||
|
├─ Verify install.wim or install.esd exists
|
||||||
|
├─ Check for "Windows 11" in image metadata
|
||||||
|
├─ Extract available editions (Home, Pro, Enterprise, etc.)
|
||||||
|
└─ Store ISO path, drive letter, WIM path, image info in $sync
|
||||||
|
↓
|
||||||
|
User optionally enables the Driver Injection checkbox
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOModify (runs in background runspace)
|
||||||
|
├─ Create work directory: ~WinUtil_Win11ISO_[timestamp]
|
||||||
|
├─ Copy ISO contents to disk (~5-6 GB)
|
||||||
|
├─ Mount install.wim at selected edition/index
|
||||||
|
├─ Invoke-WinUtilISOScript:
|
||||||
|
│ ├─ Remove 40+ bloat AppX packages
|
||||||
|
│ ├─ Export and inject drivers (if enabled)
|
||||||
|
│ ├─ Remove OneDrive setup
|
||||||
|
│ ├─ Load offline registry hives
|
||||||
|
│ ├─ Apply 50+ registry tweaks (hardware bypass, privacy, telemetry, OOBE, etc.)
|
||||||
|
│ ├─ Delete telemetry scheduled task files
|
||||||
|
│ ├─ Pre-stage setup scripts from autounattend.xml to C:\Windows\Setup\Scripts\
|
||||||
|
│ └─ Unload registry hives
|
||||||
|
├─ DISM /Cleanup-Image /StartComponentCleanup /ResetBase (saves 300-800 MB)
|
||||||
|
├─ Dismount and save the modified install.wim (~10+ minutes, slowest step)
|
||||||
|
├─ Export selected edition only (removes all other editions, saves 1-2 GB each)
|
||||||
|
├─ Dismount source ISO
|
||||||
|
└─ Report completion, enable export options
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOExport (user chooses output)
|
||||||
|
├─ Option 1: Save as ISO
|
||||||
|
│ ├─ Build bootable ISO via oscdimg.exe (BIOS/UEFI dual-boot)
|
||||||
|
│ └─ Output: Win11_Modified_[date].iso (2.5-3.5 GB)
|
||||||
|
│
|
||||||
|
└─ Option 2: Write to USB
|
||||||
|
├─ Format USB as GPT
|
||||||
|
├─ Create 512 MB EFI partition
|
||||||
|
├─ Copy modified ISO contents
|
||||||
|
└─ Output: Bootable USB (minimum 8 GB)
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOCleanAndReset (optional)
|
||||||
|
└─ Delete temp working directory (~10-15 GB)
|
||||||
|
└─ Reset UI to initial state
|
||||||
|
```
|
||||||
|
|
||||||
|
### Win11 Creator Validation & Safety
|
||||||
|
|
||||||
|
**ISO Validation**:
|
||||||
|
- Only accepts official Microsoft Windows 11 ISOs
|
||||||
|
- Validates presence of install.wim or install.esd
|
||||||
|
- Checks image metadata for "Windows 11" string
|
||||||
|
- Rejects custom, modified, or non-Windows 11 ISOs
|
||||||
|
|
||||||
|
**Work Session Recovery**:
|
||||||
|
- Auto-detects incomplete work from previous sessions
|
||||||
|
- Allows resuming Step 4 (export) without re-running Steps 1-3
|
||||||
|
- Prevents redundant modifications
|
||||||
|
|
||||||
|
**Modification Safety**:
|
||||||
|
- All registry changes are documented in a script (reversible)
|
||||||
|
- Original ISO never modified; only working copy
|
||||||
|
- Logged to `WinUtil_Win11ISO.log` for debugging
|
||||||
|
- DISM handles image dismount with automatic cleanup on error
|
||||||
|
|
||||||
|
### Win11 Creator Registry Tweaks
|
||||||
|
|
||||||
|
The `Invoke-WinUtilISOScript` function applies **50+ offline registry tweaks**:
|
||||||
|
|
||||||
|
**Hardware Bypass**:
|
||||||
|
- TPM 2.0 check bypass
|
||||||
|
- Secure Boot requirement bypass
|
||||||
|
- CPU compatibility bypass
|
||||||
|
- RAM requirement bypass
|
||||||
|
- Storage check bypass
|
||||||
|
|
||||||
|
**Privacy & Telemetry**:
|
||||||
|
- Disable advertising ID
|
||||||
|
- Disable tailored experiences
|
||||||
|
- Disable input personalization
|
||||||
|
- Disable speech online privacy
|
||||||
|
- Disable cloud content suggestions
|
||||||
|
- Disable app suggestion subscriptions
|
||||||
|
- Remove CEIP, Appraiser, WaaSMedic, etc.
|
||||||
|
|
||||||
|
**OOBE & Setup**:
|
||||||
|
- Enable local account setup
|
||||||
|
- Skip Microsoft account requirement
|
||||||
|
- Dark mode by default
|
||||||
|
- Empty taskbar and Start Menu
|
||||||
|
|
||||||
|
**Post-Setup Installations**:
|
||||||
|
- Prevent DevHome auto-installation
|
||||||
|
- Prevent new Outlook Mail app installation
|
||||||
|
- Prevent Teams auto-installation
|
||||||
|
|
||||||
|
**System Features**:
|
||||||
|
- Disable BitLocker and device encryption
|
||||||
|
- Disable Chat icon from the Taskbar
|
||||||
|
- Disable OneDrive folder backup
|
||||||
|
- Disable Copilot
|
||||||
|
- Disable Windows Update during OOBE (re-enabled at first login)
|
||||||
|
|
||||||
|
### Driver Injection Feature
|
||||||
|
|
||||||
|
**Optional Enhancement**: When enabled, exports all drivers from the running system and injects them into both:
|
||||||
|
- `install.wim` (main OS image)
|
||||||
|
- `boot.wim` index 2 (Windows Setup PE environment)
|
||||||
|
|
||||||
|
**Use Case**: Enables offline installation on systems with missing drivers.
|
||||||
|
|
||||||
|
### Disk Space Requirements
|
||||||
|
|
||||||
|
- **Temporary working directory**: ~10-15 GB
|
||||||
|
- **Original ISO**: 4-6 GB
|
||||||
|
- **Modified ISO**: 2.5-3.5 GB
|
||||||
|
- **Total needed**: ~25 GB for safe operation
|
||||||
|
|
||||||
## Data Flow
|
## Data Flow
|
||||||
|
|
||||||
### Application Installation Flow
|
### Application Installation Flow
|
||||||
@@ -139,7 +287,7 @@ Get-WinUtilCheckBoxes → Retrieves selected apps
|
|||||||
↓
|
↓
|
||||||
For each selected app:
|
For each selected app:
|
||||||
↓
|
↓
|
||||||
Check if WinGet/Choco installed
|
Check if WinGet/Choco is installed
|
||||||
↓
|
↓
|
||||||
Install-WinUtilWinget/Choco (if needed)
|
Install-WinUtilWinget/Choco (if needed)
|
||||||
↓
|
↓
|
||||||
@@ -185,7 +333,7 @@ Retrieve "OriginalState" from tweak definition
|
|||||||
↓
|
↓
|
||||||
Invoke-WPFUndoTweak → Restore original values
|
Invoke-WPFUndoTweak → Restore original values
|
||||||
↓
|
↓
|
||||||
Remove from applied tweaks log
|
Remove from the applied tweaks log
|
||||||
↓
|
↓
|
||||||
Update UI
|
Update UI
|
||||||
```
|
```
|
||||||
@@ -232,13 +380,6 @@ Update UI
|
|||||||
"Value": "0",
|
"Value": "0",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"ScheduledTask": [
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Autochk\\Proxy",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -249,7 +390,6 @@ Update UI
|
|||||||
- `Description`: What it does
|
- `Description`: What it does
|
||||||
- `category`: Essential/Advanced/Customize
|
- `category`: Essential/Advanced/Customize
|
||||||
- `registry`: Registry changes to make
|
- `registry`: Registry changes to make
|
||||||
- `ScheduledTask`: Scheduled tasks to modify
|
|
||||||
- `service`: Services to change
|
- `service`: Services to change
|
||||||
- `OriginalValue/State`: For undo functionality
|
- `OriginalValue/State`: For undo functionality
|
||||||
|
|
||||||
@@ -377,7 +517,7 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Recompile: `.\Compile.ps1`
|
2. Recompile: `.\Compile.ps1`
|
||||||
3. The app appears automatically in Install tab
|
3. The app appears automatically in the Install tab
|
||||||
|
|
||||||
### Adding a New Tweak
|
### Adding a New Tweak
|
||||||
|
|
||||||
@@ -402,7 +542,7 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Recompile: `.\Compile.ps1`
|
2. Recompile: `.\Compile.ps1`
|
||||||
3. Tweak appears in Tweaks tab
|
3. Tweak appears in the Tweaks tab
|
||||||
|
|
||||||
### Adding a New Function
|
### Adding a New Function
|
||||||
|
|
||||||
@@ -438,7 +578,9 @@ Tests are in `/pester/`:
|
|||||||
|
|
||||||
Run tests:
|
Run tests:
|
||||||
```powershell
|
```powershell
|
||||||
Invoke-Pester
|
Install-Module -Name Pester -RequiredVersion 5.8.0 -Scope CurrentUser -Force -SkipPublisherCheck
|
||||||
|
Import-Module Pester -RequiredVersion 5.8.0 -Force
|
||||||
|
Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed -CI
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build Process
|
## Build Process
|
||||||
@@ -463,7 +605,7 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
**Required**:
|
**Required**:
|
||||||
- PowerShell 5.1+
|
- PowerShell 5.1+
|
||||||
- .NET Framework 4.5+
|
- .NET Framework 4.5+
|
||||||
- Windows 10 1809+
|
- Windows 11
|
||||||
|
|
||||||
**Optional (auto-installed)**:
|
**Optional (auto-installed)**:
|
||||||
- WinGet (Windows Package Manager)
|
- WinGet (Windows Package Manager)
|
||||||
@@ -514,6 +656,7 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
|
|
||||||
- [Contributing Guide](../../contributing/) - How to contribute code
|
- [Contributing Guide](../../contributing/) - How to contribute code
|
||||||
- [User Guide](../../userguide/) - End-user documentation
|
- [User Guide](../../userguide/) - End-user documentation
|
||||||
|
- [Win11 Creator Guide](../../userguide/win11creator/) - Building customized Windows 11 ISOs
|
||||||
- [FAQ](../../faq/) - Common questions
|
- [FAQ](../../faq/) - Common questions
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Disable Legacy F8 Boot Recovery"
|
title: "Legacy F8 Boot Recovery - Disable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=100}
|
```json {filename="config/feature.json",linenos=inline,linenostart=107}
|
||||||
"WPFFeatureDisableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Disable",
|
||||||
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Enable Legacy F8 Boot Recovery"
|
title: "Legacy F8 Boot Recovery - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=89}
|
```json {filename="config/feature.json",linenos=inline,linenostart=96}
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureEnableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Legacy F8 Boot Recovery - Enable",
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Enable Daily Registry Backup Task 12.30am"
|
title: "Registry Backup (Daily Task 12:30am) - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=72}
|
```json {filename="config/feature.json",linenos=inline,linenostart=79}
|
||||||
"WPFFeatureRegBackup": {
|
"WPFFeatureRegBackup": {
|
||||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
"Content": "Registry Backup (Daily Task 12:30am) - Enable",
|
||||||
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Windows Sandbox"
|
title: "Windows Sandbox - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=111}
|
```json {filename="config/feature.json",linenos=inline,linenostart=118}
|
||||||
"WPFFeaturesSandbox": {
|
"WPFFeaturesSandbox": {
|
||||||
"Content": "Windows Sandbox",
|
"Content": "Windows Sandbox - Enable",
|
||||||
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "All .Net Framework (2,3,4)"
|
title: ".NET Framework (Versions 2, 3, 4) - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
||||||
"WPFFeaturesdotnet": {
|
"WPFFeaturesdotnet": {
|
||||||
"Content": "All .Net Framework (2,3,4)",
|
"Content": ".NET Framework (Versions 2, 3, 4) - Enable",
|
||||||
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,18 +1,15 @@
|
|||||||
---
|
---
|
||||||
title: "HyperV Virtualization"
|
title: "Hyper-V - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=14}
|
```json {filename="config/feature.json",linenos=inline,linenostart=24}
|
||||||
"WPFFeatureshyperv": {
|
"WPFFeatureshyperv": {
|
||||||
"Content": "HyperV Virtualization",
|
"Content": "Hyper-V - Enable",
|
||||||
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"feature": [
|
"feature": [
|
||||||
"Microsoft-Hyper-V-All"
|
"Microsoft-Hyper-V-All"
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
|
||||||
"bcdedit /set hypervisorschedulertype classic"
|
|
||||||
],
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: "Legacy Media (WMP, DirectPlay)"
|
title: "Legacy Media Components (WMP, DirectPlay) - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=27}
|
```json {filename="config/feature.json",linenos=inline,linenostart=34}
|
||||||
"WPFFeatureslegacymedia": {
|
"WPFFeatureslegacymedia": {
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
"Content": "Legacy Media Components (WMP, DirectPlay) - Enable",
|
||||||
"Description": "Enables legacy programs from previous versions of windows",
|
"Description": "Enables legacy programs from previous versions of Windows.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"feature": [
|
"feature": [
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "NFS - Network File System"
|
title: "Network File System (NFS) - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=53}
|
```json {filename="config/feature.json",linenos=inline,linenostart=60}
|
||||||
"WPFFeaturenfs": {
|
"WPFFeaturenfs": {
|
||||||
"Content": "NFS - Network File System",
|
"Content": "Network File System (NFS) - Enable",
|
||||||
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Windows Subsystem for Linux"
|
title: "Windows Subsystem for Linux (WSL) - Enable"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=41}
|
```json {filename="config/feature.json",linenos=inline,linenostart=48}
|
||||||
"WPFFeaturewsl": {
|
"WPFFeaturewsl": {
|
||||||
"Content": "Windows Subsystem for Linux",
|
"Content": "Windows Subsystem for Linux (WSL) - Enable",
|
||||||
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
|
|||||||
@@ -1,19 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Set Up Autologin"
|
title: "AutoLogon - Run"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFPanelAutologin {
|
function Invoke-WPFPanelAutologin {
|
||||||
<#
|
Invoke-WebRequest -Uri https://live.sysinternals.com/Autologon.exe -OutFile "$winutildir\autologin.exe"
|
||||||
|
Start-Process -FilePath "$winutildir\autologin.exe" -ArgumentList /accepteula
|
||||||
.SYNOPSIS
|
|
||||||
Enables autologin using Sysinternals Autologon.exe
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
# Official Microsoft recommendation: https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
|
|
||||||
Invoke-WebRequest -Uri "https://live.sysinternals.com/Autologon.exe" -OutFile "$env:temp\autologin.exe"
|
|
||||||
cmd /c "$env:temp\autologin.exe" /accepteula
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "System Corruption Scan"
|
title: "System Corruption Scan - Run"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: "NTP Server - Enable"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFFixesNTPPool.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFFixesNTPPool {
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Configures Windows to use pool.ntp.org for NTP synchronization
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
Replaces the default Windows NTP server (time.windows.com) with
|
||||||
|
pool.ntp.org for improved time synchronization accuracy and reliability.
|
||||||
|
#>
|
||||||
|
|
||||||
|
Start-Service w32time
|
||||||
|
w32tm /config /update /manualpeerlist:"pool.ntp.org,0x8" /syncfromflags:MANUAL
|
||||||
|
|
||||||
|
Restart-Service w32time
|
||||||
|
w32tm /resync
|
||||||
|
|
||||||
|
Write-Host "================================="
|
||||||
|
Write-Host "-- NTP Configuration Complete ---"
|
||||||
|
Write-Host "================================="
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,43 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: "Reset Network"
|
title: "Network - Reset"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesNetwork {
|
function Invoke-WPFFixesNetwork {
|
||||||
<#
|
netsh winsock reset
|
||||||
|
netsh int ip reset
|
||||||
.SYNOPSIS
|
Write-Host "Network Configuration has been Reset. Please restart your computer."
|
||||||
Resets various network configurations
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
Write-Host "Resetting Network with netsh"
|
|
||||||
|
|
||||||
Set-WinUtilTaskbaritem -state "Normal" -value 0.01 -overlay "logo"
|
|
||||||
# Reset WinSock catalog to a clean state
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winsock", "reset"
|
|
||||||
|
|
||||||
Set-WinUtilTaskbaritem -state "Normal" -value 0.35 -overlay "logo"
|
|
||||||
# Resets WinHTTP proxy setting to DIRECT
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winhttp", "reset", "proxy"
|
|
||||||
|
|
||||||
Set-WinUtilTaskbaritem -state "Normal" -value 0.7 -overlay "logo"
|
|
||||||
# Removes all user configured IP settings
|
|
||||||
Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "int", "ip", "reset"
|
|
||||||
|
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
|
||||||
|
|
||||||
Write-Host "Process complete. Please reboot your computer."
|
|
||||||
|
|
||||||
$ButtonType = [System.Windows.MessageBoxButton]::OK
|
|
||||||
$MessageboxTitle = "Network Reset "
|
|
||||||
$Messageboxbody = ("Stock settings loaded.`n Please reboot your computer")
|
|
||||||
$MessageIcon = [System.Windows.MessageBoxImage]::Information
|
|
||||||
|
|
||||||
[System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon)
|
|
||||||
Write-Host "=========================================="
|
|
||||||
Write-Host "-- Network Configuration has been Reset --"
|
|
||||||
Write-Host "=========================================="
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "Reset Windows Update"
|
title: "Windows Update - Reset"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "WinGet Reinstall"
|
title: "WinGet - Reinstall"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -9,20 +9,20 @@ function Invoke-WPFFixesWinget {
|
|||||||
<#
|
<#
|
||||||
|
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Fixes Winget by running choco install winget
|
Fixes WinGet by running `choco install winget`
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
BravoNorris for the fantastic idea of a button to reinstall winget
|
BravoNorris for the fantastic idea of a button to reinstall WinGet
|
||||||
#>
|
#>
|
||||||
# Install Choco if not already present
|
# Install Choco if not already present
|
||||||
try {
|
try {
|
||||||
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
||||||
Write-Host "==> Starting Winget Repair"
|
Write-Host "==> Starting WinGet Repair"
|
||||||
Install-WinUtilWinget -Force
|
Install-WinUtilWinget
|
||||||
} catch {
|
} catch {
|
||||||
Write-Error "Failed to install winget: $_"
|
Write-Error "Failed to install WinGet: $_"
|
||||||
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
||||||
} finally {
|
} finally {
|
||||||
Write-Host "==> Finished Winget Repair"
|
Write-Host "==> Finished WinGet Repair"
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Computer Management"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=186}
|
```json {filename="config/feature.json",linenos=inline,linenostart=182}
|
||||||
"WPFPanelComputer": {
|
"WPFPanelComputer": {
|
||||||
"Content": "Computer Management",
|
"Content": "Computer Management",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Control Panel"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=175}
|
```json {filename="config/feature.json",linenos=inline,linenostart=193}
|
||||||
"WPFPanelControl": {
|
"WPFPanelControl": {
|
||||||
"Content": "Control Panel",
|
"Content": "Control Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Windows Defender Firewall"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=314}
|
||||||
|
"WPFPanelFirewall": {
|
||||||
|
"Content": "Windows Defender Firewall",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"firewall.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Mouse Properties"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=204}
|
||||||
|
"WPFPanelMouse": {
|
||||||
|
"Content": "Mouse Properties",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"main.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -3,7 +3,7 @@ title: "Network Connections"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=197}
|
```json {filename="config/feature.json",linenos=inline,linenostart=215}
|
||||||
"WPFPanelNetwork": {
|
"WPFPanelNetwork": {
|
||||||
"Content": "Network Connections",
|
"Content": "Network Connections",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Power Panel"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=208}
|
```json {filename="config/feature.json",linenos=inline,linenostart=226}
|
||||||
"WPFPanelPower": {
|
"WPFPanelPower": {
|
||||||
"Content": "Power Panel",
|
"Content": "Power Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Printer Panel"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=219}
|
```json {filename="config/feature.json",linenos=inline,linenostart=237}
|
||||||
"WPFPanelPrinter": {
|
"WPFPanelPrinter": {
|
||||||
"Content": "Printer Panel",
|
"Content": "Printer Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Programs and Features"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=248}
|
||||||
|
"WPFPanelPrograms": {
|
||||||
|
"Content": "Programs and Features",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"appwiz.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -3,7 +3,7 @@ title: "Region"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=230}
|
```json {filename="config/feature.json",linenos=inline,linenostart=259}
|
||||||
"WPFPanelRegion": {
|
"WPFPanelRegion": {
|
||||||
"Content": "Region",
|
"Content": "Region",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Windows Restore"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=241}
|
```json {filename="config/feature.json",linenos=inline,linenostart=325}
|
||||||
"WPFPanelRestore": {
|
"WPFPanelRestore": {
|
||||||
"Content": "Windows Restore",
|
"Content": "Windows Restore",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Security and Maintenance"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=270}
|
||||||
|
"WPFPanelSecurity": {
|
||||||
|
"Content": "Security and Maintenance",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"wscui.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -3,7 +3,7 @@ title: "Sound Settings"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=252}
|
```json {filename="config/feature.json",linenos=inline,linenostart=281}
|
||||||
"WPFPanelSound": {
|
"WPFPanelSound": {
|
||||||
"Content": "Sound Settings",
|
"Content": "Sound Settings",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "System Properties"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=263}
|
```json {filename="config/feature.json",linenos=inline,linenostart=292}
|
||||||
"WPFPanelSystem": {
|
"WPFPanelSystem": {
|
||||||
"Content": "System Properties",
|
"Content": "System Properties",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Time and Date"
|
|||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=274}
|
```json {filename="config/feature.json",linenos=inline,linenostart=303}
|
||||||
"WPFPanelTimedate": {
|
"WPFPanelTimedate": {
|
||||||
"Content": "Time and Date",
|
"Content": "Time and Date",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
@@ -1,15 +1,22 @@
|
|||||||
---
|
---
|
||||||
title: "Install CTT PowerShell Profile"
|
title: "CTT PowerShell Profile - Install"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WinUtilInstallPSProfile {
|
function Invoke-WinUtilInstallPSProfile {
|
||||||
|
if (-not (Get-Command wt)) {
|
||||||
if (Test-Path $Profile) {
|
Write-Host "Windows Terminal not found. Installing..."
|
||||||
Rename-Item $Profile -NewName ($Profile + '.bak')
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.WindowsTerminal --source winget --silent
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
if (-not (Get-Command pwsh)) {
|
||||||
|
Write-Host "PowerShell 7 not found. Installing..."
|
||||||
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.PowerShell --source winget --installer-type wix --silent
|
||||||
|
}
|
||||||
|
|
||||||
|
wt new-tab pwsh -NoExit -Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||