1
0
mirror of synced 2024-11-11 22:07:09 +01:00
This commit is contained in:
nzgamer41 2021-01-17 23:10:59 +13:00
parent 42ad314538
commit 7a7156beb1
2 changed files with 21 additions and 1 deletions

View File

@ -3,6 +3,13 @@ image: Visual Studio 2017
configuration: Release configuration: Release
# Do not build on tags (GitHub only) # Do not build on tags (GitHub only)
skip_tags: true skip_tags: true
environment:
pwe:
secure: tIA3WoMvSPVbwjUMlWSdfA==
senc:
secure: FYTNTbS57pKEMR13yExGybKLsI0YUzT7RsL/+pce4uGABr01RRglP3XN3tB4r/fmHuaW6SjJA4ZnmqK6irnmxQ==
cenc:
secure: 16yzBwIyf9D/P3WTZnqqL9iZ3kP9WQ0mL1StAbp8Kls=
platform: platform:
- x64 - x64
- Win32 - Win32
@ -11,7 +18,10 @@ assembly_info:
file: '**\AssemblyInfo.*' file: '**\AssemblyInfo.*'
assembly_version: '{version}' assembly_version: '{version}'
assembly_file_version: '{version}' assembly_file_version: '{version}'
assembly_informational_version: '{version}' assembly_informational_version: '{version}'
install:
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
- cmd: appveyor-tools\secure-file -decrypt cert.enc -secret %pwe% -salt %senc%
before_build: before_build:
- cmd: premake5.exe vs2017 - cmd: premake5.exe vs2017
- ps: >- - ps: >-
@ -21,6 +31,16 @@ before_build:
mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc
after_build:
- cmd: >-
"@echo off
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
))"
build: build:
project: OpenParrot.sln project: OpenParrot.sln
verbosity: minimal verbosity: minimal

BIN
cert.enc Normal file

Binary file not shown.