Fix signing [stage]

This commit is contained in:
crschnick 2023-10-18 07:10:15 +00:00
parent 06d9c777fc
commit 53185a603f
2 changed files with 3 additions and 24 deletions

25
dist/base.gradle vendored
View file

@ -27,28 +27,6 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
into "$distDir/base/app"
}
file("$distDir/base/app/xpiped.exe").writable = true
exec {
commandLine 'cmd',
'/c',
"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat",
'&',
"signtool.exe",
'sign',
'/f',
"$projectDir\\misc\\windows\\certificate.cer",
'/fd',
'sha256',
'/tr',
'http://timestamp.digicert.com',
'/td',
'sha256',
'/v',
'/as',
"$distDir/base/app/xpiped.exe"
ignoreExitValue = true
}
def debugArguments = file("$projectDir/debug/debug_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(Collectors.joining(
' '))
def debugAttachArguments = file("$projectDir/debug/windows/debug_attach_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(
@ -83,7 +61,8 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
if (rootProject.fullVersion) {
file("$distDir/base/app/xpiped.exe").writable = true
exec {
commandLine "$projectDir\\tools\\sign_desktop.bat"
commandLine "$projectDir\\tools\\sign.bat", "$distDir/base/app/xpiped.exe"
ignoreExitValue = true
}
file("$distDir/base/app/xpiped.exe").writable = false
}

View file

@ -1 +1 @@
1.7.0-4
1.7.0-5