opensim – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | eva | 1 | #!/bin/sh |
2 | |||
3 | # This script will build LaunchSLClient.app from the .exe, .dll's, and |
||
4 | # other necessary files. |
||
5 | # |
||
6 | # This should be run from the bin directory. |
||
7 | |||
8 | APP_NAME="LaunchSLClient" |
||
9 | SOURCE_PATH="../OpenSim/Tools/${APP_NAME}" |
||
10 | |||
11 | ASSEMBLIES="mscorlib.dll \ |
||
12 | System.Windows.Forms.dll \ |
||
13 | System.Drawing.dll \ |
||
14 | System.Configuration.dll \ |
||
15 | System.Xml.dll \ |
||
16 | System.Security.dll \ |
||
17 | Mono.Security.dll \ |
||
18 | System.Data.dll \ |
||
19 | Mono.Data.Tds.dll \ |
||
20 | System.Transactions.dll \ |
||
21 | System.EnterpriseServices.dll \ |
||
22 | Mono.Mozilla.dll \ |
||
23 | Mono.Posix.dll \ |
||
24 | Accessibility.dll" |
||
25 | |||
26 | if [ ! -e ${APP_NAME}.exe ]; then |
||
27 | echo "Error: Could not find ${APP_NAME}.exe." >& 2 |
||
28 | echo "Have you built it, and are you currently in the bin directory?" >& 2 |
||
29 | exit 1 |
||
30 | fi |
||
31 | |||
32 | mkbundle2 -z -o ${APP_NAME} ${APP_NAME}.exe ${ASSEMBLIES} || exit 1 |
||
33 | |||
34 | if [ -d ${APP_NAME}.app ]; then rm -rf ${APP_NAME}.app; fi |
||
35 | cp -r ${SOURCE_PATH}/${APP_NAME}.app.skel ${APP_NAME}.app |
||
36 | |||
37 | # mkbundle doesn't seem to recognize the -L option, so we can't include Nini.dll in the bundling |
||
38 | cp Nini.dll ${APP_NAME}.app/Contents/Resources |
||
39 | |||
40 | cp ${APP_NAME} ${APP_NAME}.ini ${APP_NAME}.app/Contents/Resources |