Skip to content

Commit e963388

Browse files
committed
Fix message saying application is damaged on macOS (#267)
1 parent 262ff9c commit e963388

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ jlink {
120120
from "${projectDir}/LICENSE", "${projectDir}/libraries_used.txt"
121121
into "${buildDir}/jpackage/blobsaver.app/Contents/Resources"
122122
}
123+
exec {
124+
commandLine "codesign", "--remove-signature", "${buildDir}/jpackage/blobsaver.app"
125+
}
123126
} else if (os.isWindows()) jpackageImage.doLast {
124127
copy {
125128
from "${projectDir}/dist/windows/files", "${buildDir}/jpackage/blobsaver/runtime/bin/zip.dll"

0 commit comments

Comments
 (0)