mirror of
https://github.com/utoni/PastDSE
synced 2026-06-08 18:01:56 +00:00
* moved all certs in same named subdir
* added admin priv Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
+11
-2
@@ -3,8 +3,17 @@
|
||||
set SIGNTOOL="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe"
|
||||
set DRIVER_DEBUG="%~dp0x64\Debug\PastDSEDriver.sys"
|
||||
set DRIVER_RELEASE="%~dp0x64\Release\PastDSEDriver.sys"
|
||||
set CA="%~dp0\VeriSign Class 3 Public Primary Certification Authority - G5.cer"
|
||||
set CERT="%~dp0\cert.pfx"
|
||||
set CA="%~dp0\certs\VeriSign Class 3 Public Primary Certification Authority - G5.cer"
|
||||
set CERT="%~dp0\certs\cert_0.pfx"
|
||||
|
||||
net session >nul 2>&1
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo You are running this script as admin. Fine!
|
||||
) else (
|
||||
echo ERROR: This script requires admin privileges!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
date 01-01-14
|
||||
|
||||
|
||||
@@ -3,6 +3,15 @@ set SCNAME=PastDSE
|
||||
set DRIVER="%~dp0\x64\Debug\PastDSEDriver.sys"
|
||||
if not exist %DRIVER% set DRIVER="%~dp0\bin\x64\Debug\PastDSEDriver.sys"
|
||||
|
||||
net session >nul 2>&1
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo You are running this script as admin. Fine!
|
||||
) else (
|
||||
echo ERROR: This script requires admin privileges!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo ***************************
|
||||
echo Service Name: %SCNAME%
|
||||
echo Driver......: %DRIVER%
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
@echo off
|
||||
set SCNAME=PastDSE
|
||||
|
||||
net session >nul 2>&1
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo You are running this script as admin. Fine!
|
||||
) else (
|
||||
echo ERROR: This script requires admin privileges!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo ***************************
|
||||
echo Service Name: %SCNAME%
|
||||
echo ***************************
|
||||
|
||||
Reference in New Issue
Block a user