-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed log statements. Added a script to sign the dll file
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ECHO OFF | ||
|
||
IF NOT EXIST "AddLine.CA.dll" GOTO error | ||
attrib -r "AddLine.dll" | ||
"signtool.exe" sign /v /debug /fd sha256 /td sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /sha1 "%SIGN_CERT_FINGERPRINT%" "AddLine.dll" | ||
if %ERRORLEVEL% NEQ 0 goto error | ||
ECHO "Dll signed" | ||
|
||
:error | ||
set ERROR_CODE=%ERRORLEVEL% | ||
exit /B %ERROR_CODE% |