mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
Use JRE builds to reduce binary size
This commit is contained in:
parent
fe5fc7bbd1
commit
6fc391a3bb
@ -112,10 +112,10 @@
|
||||
<attribute name="dest" />
|
||||
<sequential>
|
||||
<exec executable="powershell" dir="${dir.cache}" failonerror="yes" osFamily="windows">
|
||||
<arg line="get-java get jdk x86_64" />
|
||||
<arg line="get-java get jre x86_64" />
|
||||
</exec>
|
||||
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes" osFamily="unix">
|
||||
<arg line="get jdk x86_64 Windows" />
|
||||
<arg line="get jre x86_64 Windows" />
|
||||
</exec>
|
||||
<unzip src="${dir.cache}/openjdk-${jre.version}_windows-x64_bin.zip" dest="@{dest}">
|
||||
<patternset refid="pattern.jre" />
|
||||
@ -140,7 +140,7 @@
|
||||
<attribute name="dest" />
|
||||
<sequential>
|
||||
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes">
|
||||
<arg line="get jdk x86_64 Darwin" />
|
||||
<arg line="get jre x86_64 Darwin" />
|
||||
</exec>
|
||||
<untar src="${dir.cache}/openjdk-${jre.version}_osx-x64_bin.tar.gz" dest="@{dest}" compression="gzip">
|
||||
<patternset refid="pattern.jre" />
|
||||
|
Loading…
Reference in New Issue
Block a user