Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
12.3k stars 524 forks source link

Filename with no extension #116

Closed Knight-sysdev closed 2 weeks ago

Knight-sysdev commented 3 weeks ago

image In this photo the code is trying to look for a file with no extension, it does this at every instance. you have to find and replace almost every instance of "CustomAppsList" with "CustomAppsList.txt" image It now works.

Raphire commented 3 weeks ago

The AppsList.txt is meant to be edited by end users, the CustomAppsFile however is not intended to be used that way. That's the reason I opted to leave the file without an extension. This doesn't impact functionality, it just acts as a way to show the file is not intended to be edited.

The file is generated automatically by the script whenever you use the app selection UI to remove apps or by running the script with the -RunAppConfigurator parameter. Allowing the script to remember and re-apply the last used settings for app removal.

Knight-sysdev commented 3 weeks ago

The AppsList.txt is meant to be edited by end users, the CustomAppsFile however is not intended to be used that way. That's the reason I opted to leave the file without an extension. This doesn't impact functionality, it just acts as a way to show the file is not intended to be edited.

The file is generated automatically by the script whenever you use the app selection UI to remove apps or by running the script with the -RunAppConfigurator parameter. Allowing the script to remember and re-apply the last used settings for app removal.

oh okay, would it not make sense to request apps list as the custom apps file list then if it's not meant to be edited?

Raphire commented 2 weeks ago

The AppsList.txt is meant to be edited by end users, the CustomAppsFile however is not intended to be used that way. That's the reason I opted to leave the file without an extension. This doesn't impact functionality, it just acts as a way to show the file is not intended to be edited. The file is generated automatically by the script whenever you use the app selection UI to remove apps or by running the script with the -RunAppConfigurator parameter. Allowing the script to remember and re-apply the last used settings for app removal.

oh okay, would it not make sense to request apps list as the custom apps file list then if it's not meant to be edited?

Changing the Appslist.txt already changes the default selection of apps the script removes, if you edit that simply select the default option or run the script with -RemoveApps parameter. The CustomAppsList is intended as a way to remember the custom app selection you make using the script UI. So they serve different purposes.