Signing fixes [stage]

This commit is contained in:
crschnick 2023-10-25 21:49:27 +00:00
parent 4df64b5e9e
commit 3a510b0e7a
3 changed files with 2 additions and 14 deletions

2
dist/base.gradle vendored
View file

@ -189,7 +189,7 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) {
exec {
commandLine "$projectDir/misc/mac/notarize.sh", "$projectDir", rootProject.arch.toString(), rootProject.productName
commandLine "$projectDir/misc/mac/sign_and_notarize.sh", "$projectDir", rootProject.arch.toString(), rootProject.productName
}
}
}

12
dist/jpackage.gradle vendored
View file

@ -103,18 +103,6 @@ jlink {
appVersion = rootProject.canonicalVersionString
} else {
icon = "logo/logo.icns"
def cert = System.getenv('MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_USER_NAME')
if (cert != null) {
imageOptions += [
'--mac-signing-key-user-name', cert
]
}
imageOptions += [
'--mac-sign'
]
resourceDir = file("${project.layout.buildDirectory.get()}/macos_resources")
appVersion = macVersion
}

View file

@ -1 +1 @@
1.7.2
1.7.2-4