mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
Try to fix 32-bit MWS support
This commit is contained in:
parent
d88d6c1ec2
commit
443e553046
@ -304,7 +304,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<target name="msi" depends="revision" description="Build Windows Installer package">
|
<target name="msi" depends="revision" description="Build Windows Installer package">
|
||||||
<property name="dir.staging" location="${dir.dist}/msi/x64" />
|
<property name="msi.arch" value="x64" />
|
||||||
|
<property name="dir.staging" location="${dir.dist}/msi/${msi.arch}" />
|
||||||
|
|
||||||
<!-- 1. prepare application files for heat harvest -->
|
<!-- 1. prepare application files for heat harvest -->
|
||||||
<get-windows-jre dest="${dir.staging}/base/jre" />
|
<get-windows-jre dest="${dir.staging}/base/jre" />
|
||||||
@ -313,7 +314,7 @@
|
|||||||
<fileset dir="${dir.dist}/lib" includes="*.jar" />
|
<fileset dir="${dir.dist}/lib" includes="*.jar" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${dir.staging}/base/lib">
|
<copy todir="${dir.staging}/base/lib">
|
||||||
<fileset dir="${dir.lib}/native/win32-x64" />
|
<fileset dir="${dir.lib}/native/win32-${msi.arch}" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<exec executable="heat" dir="${dir.staging}" failonerror="true">
|
<exec executable="heat" dir="${dir.staging}" failonerror="true">
|
||||||
@ -334,7 +335,7 @@
|
|||||||
|
|
||||||
<!-- 3. compile MSI package (use -b to add additional resource folders) -->
|
<!-- 3. compile MSI package (use -b to add additional resource folders) -->
|
||||||
<exec executable="light" dir="${dir.staging}" failonerror="true">
|
<exec executable="light" dir="${dir.staging}" failonerror="true">
|
||||||
<arg line="filebot.wixobj base.wixobj -b base -b ${dir.installer}/msi -sval -ext WixUIExtension -out ${dir.dist}/${release}_x64.msi" />
|
<arg line="filebot.wixobj base.wixobj -b base -b ${dir.installer}/msi -sval -ext WixUIExtension -out ${dir.dist}/${release}_${msi.arch}.msi" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user