Contents/MacOS can't contain shell scripts... ~15 hours wasted... :'(

@see https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html
This commit is contained in:
Reinhard Pointner 2016-11-14 07:14:22 +08:00
parent f5b88945b2
commit 051617fafe
1 changed files with 5 additions and 0 deletions

View File

@ -454,6 +454,11 @@
</fileset>
</delete>
<!-- include brew install script (can't put it into Contents/MacOS because that will break codesign and MAS submissions -->
<copy todir="${path.app}/Contents/Resources">
<fileset dir="${dir.installer}/appbundle/MacOS" includes="brew.sh" />
</copy>
<!-- fix broken symlink -->
<copy file="${jre.path}/lib/jli/libjli.dylib" tofile="${path.app.jre}/Contents/MacOS/libjli.dylib" overwrite="yes" verbose="yes" failonerror="yes" />