mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +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>
|
</exec>
|
||||||
|
|
||||||
<!-- Sign app -->
|
<!-- 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/" />
|
<arg line="--keychain "${macosx-sign-keychain}" --force -s "${macosx-sign-id}" -v Arduino.app/" />
|
||||||
</exec>
|
</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" />
|
<delete file="macosx/arduino-${version}-${platform}.zip" />
|
||||||
|
|
||||||
<!-- Create signed zip file -->
|
<!-- Create signed zip file -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user