-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.xml
45 lines (39 loc) · 1.5 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<project name="teamspeak-client" basedir=".">
<dirname property="app.basedir" file="${ant.file.teamspeak-client}"/>
<property name="build.properties" value="${app.basedir}/build.properties"/>
<property file="${build.properties}"/>
<!-- Load Portapps core build -->
<property name="core.basedir" location="${app.basedir}\${core.dir}"/>
<fail unless="core.basedir" message="Core directory '${core.basedir}' not found in ${core.basedir}"/>
<echo message="Core found in ${core.basedir}" level="debug"/>
<!-- Import build-app.xml -->
<import file="${core.basedir}\.build\build-app.xml"/>
<!-- Targets -->
<target name="release" depends="release.app" description="Release"/>
<target name="prepare">
<if>
<equals arg1="${atf.arch}" arg2="win32"/>
<then>
<rcedit arch="${atf.arch}" dir="${extract.path}">
<args>
<arg value="ts3client_win32.exe"/>
<arg value="--application-manifest"/>
<arg value="${res.path}\papp.manifest"/>
</args>
</rcedit>
</then>
<else>
<rcedit arch="${atf.arch}" dir="${extract.path}">
<args>
<arg value="ts3client_win64.exe"/>
<arg value="--application-manifest"/>
<arg value="${res.path}\papp.manifest"/>
</args>
</rcedit>
</else>
</if>
<delete dir="${extract.path}\$PLUGINSDIR"/>
<delete file="${extract.path}\Uninstall.exe.nsis"/>
</target>
</project>