signing fix for real
This commit is contained in:
parent
d13c7a478a
commit
4d6dbf114d
@ -32,7 +32,6 @@ before_build:
|
||||
mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc
|
||||
|
||||
after_build:
|
||||
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
- cmd: sign.bat
|
||||
build:
|
||||
project: OpenParrot.sln
|
||||
|
12
sign.bat
12
sign.bat
@ -1,8 +1,16 @@
|
||||
@echo off
|
||||
REM @echo off
|
||||
if not defined (cenc) goto end
|
||||
%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
|
||||
IF %PLATFORM%==Win32 (
|
||||
signtool sign /t http://timestamp.globalsign.com/scripts/timstamp.dll /f "cert" /p %cenc% /d .\build\bin\release\output\OpenParrot.dll .\build\bin\release\output\OpenParrot.dll
|
||||
signtool sign /t http://timestamp.globalsign.com/scripts/timstamp.dll /f "cert" /p %cenc% /d .\build\bin\release\output\OpenParrotLoader.exe .\build\bin\release\output\OpenParrotLoader.exe
|
||||
signtool sign /t http://timestamp.globalsign.com/scripts/timstamp.dll /f "cert" /p %cenc% /d .\build\bin\release\output\OpenParrotKonamiLoader.exe .\build\bin\release\output\OpenParrotKonamiLoader.exe) ELSE (IF %PLATFORM%==x64 (
|
||||
signtool sign /t http://timestamp.globalsign.com/scripts/timstamp.dll /f "cert" /p %cenc% /d .\build\bin\release\output\OpenParrot64.dll .\build\bin\release\output\OpenParrot64.dll
|
||||
signtool sign /t http://timestamp.globalsign.com/scripts/timstamp.dll /f "cert" /p %cenc% /d .\build\bin\release\output\OpenParrotLoader64.exe .\build\bin\release\output\OpenParrotLoader64.exe
|
||||
))
|
||||
)
|
||||
)
|
||||
exit
|
||||
|
||||
:end
|
||||
echo Pull Request
|
||||
exit
|
Loading…
Reference in New Issue
Block a user