Skip to content

Commit 8ce8b72

Browse files
author
Federico Fissore
committed
Windows: using unzip ant task instead of native zip for unpacking launch4j
1 parent 7d09a12 commit 8ce8b72

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build/build.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,12 @@
693693
</exec>
694694
</target>
695695

696+
<target name="unzip-with-ant-task" depends="untar-unzip-checksum" unless="${archive_file}_installed">
697+
<echo>Unzipping ${archive_file} into folder ${dest_folder}</echo>
698+
<mkdir dir="${dest_folder}" />
699+
<unzip src="${archive_file}" dest="${dest_folder}"/>
700+
</target>
701+
696702
<target name="linux-dist" depends="build"
697703
description="Build .tar.xz of linux version">
698704

@@ -772,7 +778,7 @@
772778
</target>
773779

774780
<target name="download-launch4j-windows">
775-
<antcall target="unzip">
781+
<antcall target="unzip-with-ant-task">
776782
<param name="archive_file" value="windows/launch4j-3.7-win32.zip"/>
777783
<param name="archive_url" value="http://switch.dl.sourceforge.net/project/launch4j/launch4j-3/3.7/launch4j-3.7-win32.zip"/>
778784
<param name="final_folder" value="windows/launcher/launch4j"/>

0 commit comments

Comments
 (0)