Win11Debloat icon indicating copy to clipboard operation
Win11Debloat copied to clipboard

Filename with no extension

Open Knight-sysdev opened this issue 1 year ago • 1 comments

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.

Knight-sysdev avatar Aug 16 '24 16:08 Knight-sysdev

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.

Raphire avatar Aug 16 '24 19:08 Raphire

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?

Knight-sysdev avatar Aug 20 '24 12:08 Knight-sysdev

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.

Raphire avatar Aug 24 '24 14:08 Raphire