提交 361413f3 编写于 作者: M Mathieu Bastian

Codesign JRE separately to resolve corrupted app issue, fixing #1179

上级 3171f905
......@@ -757,9 +757,16 @@
<!-- Fix JRE by replacing libjli.dylib symlink with real file -->
<copy file="${project.build.directory}/${gephi.appbundle.name}.app/Contents/PlugIns/${bundle.jre.name}/Contents/Home/lib/jli/libjli.dylib" todir="${project.build.directory}/${gephi.appbundle.name}.app/Contents/PlugIns/${bundle.jre.name}/Contents/MacOS" overwrite="true"/>
<!-- Codesign -->
<!-- Codesign JRE -->
<exec dir="${project.build.directory}" os="Mac OS X" executable="codesign">
<arg value="-fs"/>
<arg value="${gephi.codesign.identity}"/>
<arg value="-v"/>
<arg value="${gephi.appbundle.name}.app/Contents/PlugIns/${bundle.jre.name}/"/>
</exec>
<!-- Codesign app -->
<exec dir="${project.build.directory}" os="Mac OS X" executable="codesign">
<arg value="--deep"/>
<arg value="-fs"/>
<arg value="${gephi.codesign.identity}"/>
<arg value="-v"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册