mirror of
https://github.com/slorelee/wimbuilder2.git
synced 2025-05-06 18:25:51 +08:00
update for Windows 11 modern skin
This commit is contained in:
parent
d8e0e90cab
commit
d5534c3078
@ -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
|
||||
|
||||
|
@ -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%"
|
||||
|
Loading…
x
Reference in New Issue
Block a user