update for Windows 11 modern skin

This commit is contained in:
slore 2023-08-21 01:39:13 +08:00
parent d8e0e90cab
commit d5534c3078
2 changed files with 5 additions and 2 deletions

View File

@ -41,8 +41,10 @@ for /f %%i in ('dir /a-d /b "%X_WIN%\SysWOW64\%WB_PE_LANG%\*.mui"') do (
:END_DEL_MUI
rem cleanup registry
rem reg delete "HKLM\Tmp_Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\PackageRepository\Packages" /f
reg delete "HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\AppX\AppxAllUserStore" /f
if not exist "%X_SYS%\AppxSysprep.dll" (
rem reg delete "HKLM\Tmp_Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\PackageRepository\Packages" /f
reg delete "HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\AppX\AppxAllUserStore" /f
)
if %Check_SysWOW64% EQU 0 call :REMOVE_WOW64_REG

View File

@ -5,6 +5,7 @@ set WB_ARCH=x64
)
if not exist "%WINXSHELL%" goto :EOF
if exist "%X_SYS%\AppxSysprep.dll" goto :EOF
set "Icons=%X_WIN%\Resources\Icons"
if not exist "%Icons%" md "%Icons%"