add AppData.tmpl/Projects/WIN10XPE/10-MyCustom/01-MyDrivers

This commit is contained in:
slore 2021-04-01 19:42:17 +09:00
parent 64202dc63d
commit 0d0a798b9d
5 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,16 @@
set _RELOAD_HIVE=0
reg query HKLM\Tmp_SOFTWARE /ve 1>nul 2>nul
if %errorlevel% EQU 0 (
call PERegPorter.bat Tmp UNLOAD
set _RELOAD_HIVE=1
)
echo [INFO] Add drivers:%cd%\Drivers_%WB_PE_ARCH%
Dism /Image:"%X%" /Add-Driver:Drivers_%WB_PE_ARCH% /Recurse /ForceUnsigned
if %_RELOAD_HIVE% EQU 1 (
call PERegPorter.bat Tmp LOAD
)
set _RELOAD_HIVE=

View File

@ -0,0 +1,3 @@
<div style="margin:15px">
<button class="pure-button pure-button-primary" onclick="OpenFolder($app_root + '/' + $obj_patch.path)"><label class="browse" /> MyDrivers</button>
</div>