go my file uploader
This commit is contained in:
30
build/internal/DigiCert High Assurance EV Root CA.crt
Normal file
30
build/internal/DigiCert High Assurance EV Root CA.crt
Normal file
@ -0,0 +1,30 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFOzCCAyOgAwIBAgIKYSBNtAAAAAAAJzANBgkqhkiG9w0BAQUFADB/MQswCQYD
|
||||
VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe
|
||||
MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQDEyBNaWNyb3Nv
|
||||
ZnQgQ29kZSBWZXJpZmljYXRpb24gUm9vdDAeFw0xMTA0MTUxOTQ1MzNaFw0yMTA0
|
||||
MTUxOTU1MzNaMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMx
|
||||
GTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNVBAMTIkRpZ2lDZXJ0IEhp
|
||||
Z2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
|
||||
ggEKAoIBAQDGzOVz5vvUu+UtLTKm3+WBP8nNJUm2cSrD1ZQ0Z6IKHLBfaaZAscS3
|
||||
so/QmKSpQVk609yU1jzbdDikSsxNJYL3SqVTEjju80ltcZF+Y7arpl/DpIT4T2JR
|
||||
vvjF7Ns4kuMG5QiRDMQoQVX7y1qJFX5x6DW/TXIJPb46OFBbdzEbjbPHJEWap6xt
|
||||
ABRaBLe6E+tRCphBQSJOZWGHgUFQpnlcid4ZSlfVLuZdHFMsfpjNGgYWpGhz0DQE
|
||||
E1yhcdNafFXbXmThN4cwVgTlEbQpgBLxeTmIogIRfCdmt4i3ePLKCqg4qwpkwr9m
|
||||
XZWEwaElHoddGlALIBLMQbtuC1E4uEvLAgMBAAGjgcswgcgwEQYDVR0gBAowCDAG
|
||||
BgRVHSAAMAsGA1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSx
|
||||
PsNpA/i/RwHUmCYaCALvY2QrwzAfBgNVHSMEGDAWgBRi+wohW39DbhHaCVRQa/XS
|
||||
lnHxnjBVBgNVHR8ETjBMMEqgSKBGhkRodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v
|
||||
cGtpL2NybC9wcm9kdWN0cy9NaWNyb3NvZnRDb2RlVmVyaWZSb290LmNybDANBgkq
|
||||
hkiG9w0BAQUFAAOCAgEAIIzBWe1vnGstwUo+dR1FTEFQHL2A6tmwkosGKhM/Uxae
|
||||
VjlqimO2eCR59X24uUehCpbC9su9omafBuGs0nkJDv083KwCDHCvPxvseH7U60sF
|
||||
YCbZc2GRIe2waGPglxKrb6AS7dmf0tonPLPkVvnR1IEPcb1CfKaJ3M3VvZWiq/GT
|
||||
EX3orDEpqF1mcEGd/HXJ1bMaOSrQhQVQi6yRysSTy3GlnaSUb1gM+m4gxAgxtYWd
|
||||
foH50j3KWxiFbAqG7CIJG6V0NE9/KLyVSqsdtpiwXQmkd3Z+76eOXYT2GCTL0W2m
|
||||
w6GcwhB1gP+dMv3mz0M6gvfOj+FyKptit1/tlRo5XC+UbUi3AV8zL7vcLXM0iQRC
|
||||
ChyLefmj+hfv+qEaEN/gssGV61wMBZc7NT4YiE3bbL8kiY3Ivdifezk6JKDV39Hz
|
||||
ShqX9qZveh+wkKmzrAE5kdNht2TxPlc4A6/OetK1kPWu3DmZ1bY8l+2myxbHfWsq
|
||||
TJCU5kxU/R7NIOzOaJyHWOlhYL7rDsnVGX2f6Xi9DqwhdQePqW7gjGoqa5zj52W8
|
||||
vC08bdwE3GdFNjKvBIG8qABuYUyVxVzUjo6fL8EydL29EWUDB83vt14CV9qG1Boo
|
||||
NK+ISbLPpd2CVm9oqhTiWVT+/+ru7+qScCJggeMlI8CfzA9JsjWqWMM6w9kWlBA=
|
||||
-----END CERTIFICATE-----
|
BIN
build/internal/DigiCertHighAssuranceCodeSigningCA-1.crt
Normal file
BIN
build/internal/DigiCertHighAssuranceCodeSigningCA-1.crt
Normal file
Binary file not shown.
34
build/internal/dobuildrelease.cmd
Normal file
34
build/internal/dobuildrelease.cmd
Normal file
@ -0,0 +1,34 @@
|
||||
@echo off
|
||||
|
||||
rem The first parameter specifies the ProcessHacker2 base directory.
|
||||
rem The second parameter specifies the output directory.
|
||||
rem Variables:
|
||||
rem INNOBIN - Specify the path to Inno Setup.
|
||||
rem e.g. C:\Program Files\Inno Setup 5
|
||||
rem SVNBIN - Specify the path to the SVN client.
|
||||
rem SEVENZIPBIN - Specify the path to 7-Zip.
|
||||
rem e.g. C:\Program Files\7-Zip
|
||||
rem SIGN - Specify 1 to sign executable files.
|
||||
rem SIGN_TIMESTAMP - Specify 1 to timestamp executable files.
|
||||
rem MAJORVERSION - Specify the major version of the Process Hacker release being built.
|
||||
rem e.g. 2
|
||||
rem MINORVERSION - Specify the minor version of the Process Hacker release being built.
|
||||
rem e.g. 8
|
||||
|
||||
rem Build the main projects
|
||||
|
||||
set PHBASE=%1
|
||||
|
||||
devenv %1\ProcessHacker.sln /build "Release|Win32"
|
||||
devenv %1\ProcessHacker.sln /build "Release|x64"
|
||||
call %1\build\internal\wait.cmd 2
|
||||
|
||||
pushd %1\build\sdk\
|
||||
call makesdk.cmd
|
||||
popd
|
||||
|
||||
devenv %1\plugins\Plugins.sln /build "Release|Win32"
|
||||
devenv %1\plugins\Plugins.sln /build "Release|x64"
|
||||
call %1\build\internal\wait.cmd 2
|
||||
|
||||
call %1\build\internal\dorelease.cmd %1 %2
|
127
build/internal/dorelease.cmd
Normal file
127
build/internal/dorelease.cmd
Normal file
@ -0,0 +1,127 @@
|
||||
@echo off
|
||||
|
||||
if "%1" == "" goto :notset
|
||||
if "%2" == "" goto :notset
|
||||
|
||||
if exist %2\processhacker-*-*.* del %2\processhacker-*-*.*
|
||||
|
||||
rem Source distribution
|
||||
|
||||
if exist "%GITBIN%\git.exe". (
|
||||
"%GITBIN%\git.exe" --git-dir=%1\.git --work-tree=%1 archive --format zip --output %2\processhacker-%MAJORVERSION%.%MINORVERSION%-src.zip master
|
||||
if exist "%SEVENZIPBIN%\7z.exe" (
|
||||
if exist %2\ProcessHacker2 rmdir /S /Q %2\ProcessHacker2
|
||||
"%SEVENZIPBIN%\7z.exe" x %2\processhacker-%MAJORVERSION%.%MINORVERSION%-src.zip -o%2\ProcessHacker2
|
||||
del %2\processhacker-%MAJORVERSION%.%MINORVERSION%-src.zip
|
||||
echo #define PHAPP_VERSION_REVISION 0 > %2\ProcessHacker2\ProcessHacker\include\phapprev.h
|
||||
"%SEVENZIPBIN%\7z.exe" a -mx9 %2\processhacker-%MAJORVERSION%.%MINORVERSION%-src.zip %2\ProcessHacker2\*
|
||||
)
|
||||
)
|
||||
|
||||
rem SDK distribution
|
||||
|
||||
if exist "%SEVENZIPBIN%\7z.exe" "%SEVENZIPBIN%\7z.exe" a -mx9 %2\processhacker-%MAJORVERSION%.%MINORVERSION%-sdk.zip %1\sdk\*
|
||||
|
||||
rem Binary distribution
|
||||
|
||||
if exist %2\bin rmdir /S /Q %2\bin
|
||||
mkdir %2\bin
|
||||
|
||||
for %%a in (
|
||||
CHANGELOG.txt
|
||||
COPYRIGHT.txt
|
||||
LICENSE.txt
|
||||
) do copy %1\%%a %2\bin\%%a
|
||||
copy %1\README.md %2\bin\README.txt
|
||||
|
||||
if "%SIGN%" == "1" (
|
||||
call %1\build\internal\sign.cmd %1\bin\Release32\ProcessHacker.exe
|
||||
call %1\build\internal\sign.cmd %1\bin\Release32\peview.exe
|
||||
call %1\build\internal\sign.cmd %1\bin\Release64\ProcessHacker.exe
|
||||
call %1\build\internal\sign.cmd %1\bin\Release64\peview.exe
|
||||
)
|
||||
|
||||
if exist "%KPH_PRIVATE_KEY%". (
|
||||
%1\tools\CustomSignTool\bin\Release32\CustomSignTool.exe sign -k "%KPH_PRIVATE_KEY%" -s %1\bin\Release32\ProcessHacker.sig %1\bin\Release32\ProcessHacker.exe
|
||||
%1\tools\CustomSignTool\bin\Release32\CustomSignTool.exe sign -k "%KPH_PRIVATE_KEY%" -s %1\bin\Release64\ProcessHacker.sig %1\bin\Release64\ProcessHacker.exe
|
||||
)
|
||||
|
||||
mkdir %2\bin\x86
|
||||
copy %1\bin\Release32\ProcessHacker.exe %2\bin\x86\
|
||||
copy %1\bin\Release32\ProcessHacker.sig %2\bin\x86\
|
||||
copy %1\KProcessHacker\bin-signed\i386\kprocesshacker.sys %2\bin\x86\
|
||||
copy %1\bin\Release32\peview.exe %2\bin\x86\
|
||||
|
||||
mkdir %2\bin\x64
|
||||
copy %1\bin\Release64\ProcessHacker.exe %2\bin\x64\
|
||||
copy %1\bin\Release64\ProcessHacker.sig %2\bin\x64\
|
||||
copy %1\KProcessHacker\bin-signed\amd64\kprocesshacker.sys %2\bin\x64\
|
||||
copy %1\bin\Release64\peview.exe %2\bin\x64\
|
||||
|
||||
mkdir %2\bin\x86\plugins
|
||||
for %%a in (
|
||||
DotNetTools
|
||||
ExtendedNotifications
|
||||
ExtendedServices
|
||||
ExtendedTools
|
||||
HardwareDevices
|
||||
NetworkTools
|
||||
OnlineChecks
|
||||
SbieSupport
|
||||
ToolStatus
|
||||
Updater
|
||||
UserNotes
|
||||
WindowExplorer
|
||||
) do (
|
||||
if "%SIGN%" == "1" (
|
||||
call %1\build\internal\sign.cmd %1\bin\Release32\plugins\%%a.dll sha2only
|
||||
)
|
||||
copy %1\bin\Release32\plugins\%%a.dll %2\bin\x86\plugins\%%a.dll
|
||||
)
|
||||
|
||||
mkdir %2\bin\x64\plugins
|
||||
for %%a in (
|
||||
DotNetTools
|
||||
ExtendedNotifications
|
||||
ExtendedServices
|
||||
ExtendedTools
|
||||
HardwareDevices
|
||||
NetworkTools
|
||||
OnlineChecks
|
||||
SbieSupport
|
||||
ToolStatus
|
||||
Updater
|
||||
UserNotes
|
||||
WindowExplorer
|
||||
) do (
|
||||
if "%SIGN%" == "1" (
|
||||
call %1\build\internal\sign.cmd %1\bin\Release64\plugins\%%a.dll sha2only
|
||||
)
|
||||
copy %1\bin\Release64\plugins\%%a.dll %2\bin\x64\plugins\%%a.dll
|
||||
)
|
||||
|
||||
if exist "%SEVENZIPBIN%\7z.exe" "%SEVENZIPBIN%\7z.exe" a -mx9 %2\processhacker-%MAJORVERSION%.%MINORVERSION%-bin.zip %2\bin\*
|
||||
|
||||
rem Installer distribution
|
||||
|
||||
if exist "%INNOBIN%\iscc.exe". (
|
||||
pushd %1\build\Installer\
|
||||
del *.exe
|
||||
"%INNOBIN%\iscc.exe" Process_Hacker_installer.iss
|
||||
popd
|
||||
)
|
||||
|
||||
if exist %1\build\Installer\processhacker-%MAJORVERSION%.%MINORVERSION%-setup.exe (
|
||||
copy %1\build\Installer\processhacker-%MAJORVERSION%.%MINORVERSION%-setup.exe %2\
|
||||
if "%SIGN%" == "1" (
|
||||
call %1\build\internal\sign.cmd %2\processhacker-%MAJORVERSION%.%MINORVERSION%-setup.exe
|
||||
)
|
||||
)
|
||||
|
||||
goto :end
|
||||
|
||||
:notset
|
||||
echo Parameters not set.
|
||||
pause
|
||||
|
||||
:end
|
3
build/internal/readme.txt
Normal file
3
build/internal/readme.txt
Normal file
@ -0,0 +1,3 @@
|
||||
I use these scripts on my own machine.
|
||||
|
||||
wj32.
|
22
build/internal/sign.cmd
Normal file
22
build/internal/sign.cmd
Normal file
@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
|
||||
if "%1" == "" goto :notset
|
||||
|
||||
set additional=
|
||||
if "%2" == "kmcs" set additional=/ac "%PHBASE%\build\internal\DigiCert High Assurance EV Root CA.crt"
|
||||
|
||||
set timestamp=
|
||||
if "%SIGN_TIMESTAMP%" == "1" set timestamp=/t http://timestamp.digicert.com
|
||||
set timestamp_rfc=
|
||||
if "%SIGN_TIMESTAMP%" == "1" set timestamp_rfc=/tr http://timestamp.digicert.com /td sha256
|
||||
|
||||
if not "%2" == "sha2only" signtool sign %timestamp% /i "DigiCert High Assurance Code Signing CA-1" %additional% %1
|
||||
signtool sign /as /fd sha256 %timestamp_rfc% /i "DigiCert SHA2 High Assurance Code Signing CA" %additional% %1
|
||||
|
||||
goto :end
|
||||
|
||||
:notset
|
||||
echo Parameters not set.
|
||||
pause
|
||||
|
||||
:end
|
1
build/internal/wait.cmd
Normal file
1
build/internal/wait.cmd
Normal file
@ -0,0 +1 @@
|
||||
ping -n %1 localhost > nul
|
Reference in New Issue
Block a user