mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* fix build warnings
This commit is contained in:
parent
5485004130
commit
6e8df6db78
19
build.xml
19
build.xml
@ -304,17 +304,20 @@
|
||||
</bundleapp>
|
||||
|
||||
<!-- fix code signing and submission issues -->
|
||||
<delete verbose="true" followsymlinks="false" removenotfollowedsymlinks="true">
|
||||
<fileset dir="${dir.dist}/FileBot.app/Contents/PlugIns" includes="**/libjfxmedia.dylib" />
|
||||
<delete verbose="yes">
|
||||
<fileset dir="${dir.dist}/FileBot.app/Contents/PlugIns">
|
||||
<include name="**/libjfxmedia.dylib" />
|
||||
<include name="**/Contents/Info.plist" />
|
||||
<include name="**/Contents/MacOS/libjli.dylib" />
|
||||
</fileset>
|
||||
</delete>
|
||||
<delete verbose="true" file="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" followsymlinks="false" removenotfollowedsymlinks="true" />
|
||||
|
||||
<copy file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/Info.plist" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/Info.plist" verbose="true" overwrite="yes" />
|
||||
<copy file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/MacOS/libjli.dylib" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" verbose="true" overwrite="yes" />
|
||||
<chmod dir="${dir.dist}/FileBot.app/Contents/PlugIns" perm="+rw" verbose="true" />
|
||||
<copy verbose="yes" failonerror="yes" overwrite="yes" file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/Info.plist" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/Info.plist" />
|
||||
<copy verbose="yes" failonerror="yes" overwrite="yes" file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/MacOS/libjli.dylib" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" />
|
||||
|
||||
<!-- fix permissions -->
|
||||
<chmod verbose="true" dir="${dir.dist}" includes="**/fpcalc" perm="755" />
|
||||
<chmod verbose="yes" dir="${dir.dist}" includes="**/fpcalc" perm="755" />
|
||||
<chmod verbose="yes" dir="${dir.dist}/FileBot.app/Contents/PlugIns" perm="+rw" />
|
||||
|
||||
|
||||
<!-- JRE sign all jars, dylibs and executables -->
|
||||
<apply executable="codesign">
|
||||
|
Loading…
Reference in New Issue
Block a user