fix: Recommendations don't work in the Start Menu - #61

This commit is contained in:
h3r0 2024-02-02 07:46:33 +00:00 committed by GitHub
parent eb253cb20b
commit 0647485122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -71,11 +71,17 @@ for %%i in (
"WebExperienceHostApp.exe"
"WebExperienceHost.dll"
"SystemSettingsExtensions.dll"
"WsxPackManager.dll"
) do (
if exist "!SystemDrive!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\%%i.bak" del /q /f "!SystemDrive!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\%%i.bak"
if exist "!SystemDrive!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\%%i" (
ren "!SystemDrive!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\%%i" "%%i.bak"
)
)
@REM revert #61
for %%i in (
"!SystemDrive!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\WsxPackManager.dll"
) do (
if not exist "%%i" if exist "%%i.bak" ren "%%i.bak" "WsxPackManager.dll"
)