that way win-installer target should work on both linux and windows

This commit is contained in:
Anton Keks 2013-08-25 18:31:27 +03:00
parent 3bdb044d3a
commit 0beb214ab7
4 changed files with 1 additions and 6 deletions

View File

@ -481,7 +481,7 @@
</replace>
<copy file="${dist}/${ant.project.name}-win32-${version}.exe" tofile="ext/win-installer/AppFiles32/ipscan.exe"/>
<copy file="${dist}/${ant.project.name}-win64-${version}.exe" tofile="ext/win-installer/AppFiles64/ipscan.exe"/>
<exec command="ext/win-installer/build.sh"/>
<exec dir="ext/win-installer" command="NSISPortable/NSISPortable.exe InstallerConfig.nsh"/>
<move file="ext/win-installer/Angry_IP_Scanner_${version}_Setup.exe" tofile="${dist}/ipscan-${version}-setup.exe"/>
<exec command="git checkout ext/win-installer/InstallerConfig.nsh"/>
</target>

0
ext/win-installer/NSISPortable/NSISPortable.exe Normal file → Executable file
View File

View File

@ -1,2 +0,0 @@
NSISPortable/NSISPortable.exe Installer\Installer.nsi

View File

@ -1,3 +0,0 @@
#!/bin/bash
cd `dirname $0`
wine NSISPortable/NSISPortable.exe Installer/Installer.nsi