ntdevlabs / tiny11builder

Scripts to build a trimmed-down Windows 11 image.
9.79k stars 853 forks source link

Acknowledge #12

Closed nurmohammed840 closed 1 year ago

nurmohammed840 commented 1 year ago

At first, I appreciate your work 👏

But removing application from image does make any difference ? I mean, There is some debloat scripts, for removing bloated applications...

Here is some popular debloat scripts, just in case anyone curious...

rhinotastic commented 1 year ago

At first, I appreciate your work 👏

But removing application from image does make any difference ? I mean, There is some debloat scripts, for removing bloated applications...

Here is some popular debloat scripts, just in case anyone curious...

The difference between this approach is you install debloated rather than install then debloat. The bat script could be improved with for loops and separating the app list from the script so the script stays the same but the file you use for what version doesn't. you only need 1 bat file then and it's much cleaner and easier to maintain.

nurmohammed840 commented 1 year ago

Please elaborate:

The bat script could be improved with for loops and separating the app list from the script so the script stays the same but the file you use for what version doesn't. you only need 1 bat file then and it's much cleaner and easier to maintain.

rhinotastic commented 1 year ago

so for example you can have the package name entries stored in a file for each windows release version. the batch script can then use a for loop to go through each entry in the selected file and then execute the command with that package name to remove. this means you have a function for looping through a file to remove the packages listed in that file. You only then need to update or add/remove package names to the file rather than have to put in a full command entry to the batch script for each package. you also don't then have to have multiple batch scripts but can have a single script and make new windows version files for the script to use.