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}">
|
||||
<!-- Note: can be higher on 64 bit systems, should be in sync with project.properties -->
|
||||
<entry key="default_options" value="@JVM_OPTIONS" />
|
||||
<entry key="jdkhome" value=""jre7"" />
|
||||
<entry key="jdkhome" value=""jre"" />
|
||||
</propertyfile>
|
||||
<!-- workaround for ant escaping : and = when setting properties -->
|
||||
<replace file="${inst.property.file}" token="@JVM_OPTIONS" value="${jvm.args}" />
|
||||
@ -183,10 +183,17 @@
|
||||
</target>
|
||||
|
||||
<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="Adding JRE to installer: ${jre-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>
|
||||
</target>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user