mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Removed comments
This commit is contained in:
parent
ec1e80cf45
commit
aa9cad2588
1 changed files with 6 additions and 4 deletions
10
build.ps1
10
build.ps1
|
@ -57,6 +57,8 @@ Function PrepareCertificate() {
|
||||||
$decodedContentBytes | set-content "greenshot.pfx" -encoding byte
|
$decodedContentBytes | set-content "greenshot.pfx" -encoding byte
|
||||||
|
|
||||||
$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
$certutilArguments = @('-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
||||||
|
Import-PfxCertificate –FilePath C:\mypfx.pfx cert:\localMachine\my -Password $env:CertificatePassword
|
||||||
|
|
||||||
Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow
|
Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -328,17 +330,17 @@ echo "Preparing certificate"
|
||||||
PrepareCertificate
|
PrepareCertificate
|
||||||
|
|
||||||
echo "Signing executables"
|
echo "Signing executables"
|
||||||
#SignBinaryFilesBeforeBuildingInstaller
|
SignBinaryFilesBeforeBuildingInstaller
|
||||||
|
|
||||||
echo "Generating Installer"
|
echo "Generating Installer"
|
||||||
#PackageInstaller
|
PackageInstaller
|
||||||
|
|
||||||
echo "Generating ZIP"
|
echo "Generating ZIP"
|
||||||
#PackageZip
|
PackageZip
|
||||||
|
|
||||||
echo "Generating Portable"
|
echo "Generating Portable"
|
||||||
PackagePortable
|
PackagePortable
|
||||||
|
|
||||||
echo "Generating Debug Symbols ZIP"
|
echo "Generating Debug Symbols ZIP"
|
||||||
#PackageDbgSymbolsZip
|
PackageDbgSymbolsZip
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue