mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fix jre path
This commit is contained in:
parent
7ef76a332b
commit
02ecf0c800
@ -145,7 +145,7 @@
|
|||||||
<propertyfile file="${inst.property.file}">
|
<propertyfile file="${inst.property.file}">
|
||||||
<!-- Note: can be higher on 64 bit systems, should be in sync with project.properties -->
|
<!-- Note: can be higher on 64 bit systems, should be in sync with project.properties -->
|
||||||
<entry key="default_options" value="@JVM_OPTIONS" />
|
<entry key="default_options" value="@JVM_OPTIONS" />
|
||||||
<entry key="jdkhome" value=""jre7"" />
|
<entry key="jdkhome" value=""jre"" />
|
||||||
</propertyfile>
|
</propertyfile>
|
||||||
<!-- workaround for ant escaping : and = when setting properties -->
|
<!-- workaround for ant escaping : and = when setting properties -->
|
||||||
<replace file="${inst.property.file}" token="@JVM_OPTIONS" value="${jvm.args}" />
|
<replace file="${inst.property.file}" token="@JVM_OPTIONS" value="${jvm.args}" />
|
||||||
@ -183,10 +183,17 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="add-ai-jre" description="Adds JRE to Advanced Installer project">
|
<target name="add-ai-jre" description="Adds JRE to Advanced Installer project">
|
||||||
|
<var name="new-jre-path" value="${inst-path}/jre"/>
|
||||||
|
<mkdir dir="${new-jre-path}"/>
|
||||||
|
<copy todir="${new-jre-path}" >
|
||||||
|
<fileset dir=""${jre-path}"">
|
||||||
|
<include name="**"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
<echo message="${ai-exe-path}" />
|
<echo message="${ai-exe-path}" />
|
||||||
<echo message="Adding JRE to installer: ${jre-path}"/>
|
<echo message="Adding JRE to installer: ${jre-path}"/>
|
||||||
<exec executable="${ai-exe-path}">
|
<exec executable="${ai-exe-path}">
|
||||||
<arg line="/edit ${aip-path} /AddFolder APPDIR "${jre-path}"" />
|
<arg line="/edit ${aip-path} /AddFolder APPDIR "${new-jre-path}"" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user