mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-28 23:31:43 +12:00
Fix signing [stage]
This commit is contained in:
parent
06d9c777fc
commit
53185a603f
2 changed files with 3 additions and 24 deletions
25
dist/base.gradle
vendored
25
dist/base.gradle
vendored
|
@ -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
|
||||
}
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
1.7.0-4
|
||||
1.7.0-5
|
Loading…
Reference in a new issue