mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
Fixed application signing check for codesign.
Sometimes "codesign" returns error code 1 when replacing an already existing signature.
This commit is contained in:
parent
aff29deb1e
commit
6c1696f4c6
@ -284,10 +284,15 @@
|
||||
</exec>
|
||||
|
||||
<!-- Sign app -->
|
||||
<exec executable="codesign" dir="macosx/work" failonerror="true">
|
||||
<exec executable="codesign" dir="macosx/work">
|
||||
<arg line="--keychain "${macosx-sign-keychain}" --force -s "${macosx-sign-id}" -v Arduino.app/" />
|
||||
</exec>
|
||||
|
||||
<!-- Check for successful signing -->
|
||||
<exec executable="codesign" dir="macosx/work" failonerror="true">
|
||||
<arg line="-vvvv Arduino.app/" />
|
||||
</exec>
|
||||
|
||||
<delete file="macosx/arduino-${version}-${platform}.zip" />
|
||||
|
||||
<!-- Create signed zip file -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user