Migrate installer to Apollo

This commit is contained in:
Yukino Song
2024-08-23 00:55:56 +08:00
parent 88a3cfd7a5
commit 8bbd64f025
15 changed files with 79 additions and 27 deletions

View File

@@ -0,0 +1,25 @@
@echo off
pushd %~dp0
echo ================
echo Installing cert for the SudoVDA driver...
certutil -addstore -f root "code_signing.crt"
certutil -addstore -f TrustedPublisher "code_signing.crt"
echo ================
echo Removing the old driver... It's OK to show an error if you're installing the driver for the first time.
nefconc.exe --remove-device-node --hardware-id root\sudomaker\sudovda --class-guid "4D36E968-E325-11CE-BFC1-08002BE10318"
echo ================
echo Installing the new driver...
nefconc.exe --create-device-node --class-name Display --class-guid "4D36E968-E325-11CE-BFC1-08002BE10318" --hardware-id root\sudomaker\sudovda
nefconc.exe --install-driver --inf-path "SudoVDA.inf"
echo ================
echo Done!
popd