diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/secondlife setup build.bat | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/secondlife setup build.bat')
-rw-r--r-- | linden/indra/newview/secondlife setup build.bat | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/linden/indra/newview/secondlife setup build.bat b/linden/indra/newview/secondlife setup build.bat index 169071f..df6dc72 100644 --- a/linden/indra/newview/secondlife setup build.bat +++ b/linden/indra/newview/secondlife setup build.bat | |||
@@ -12,63 +12,9 @@ | |||
12 | @REM "secondlife setup build.bat" http://secondlife.com/app/login/beta/ /DADITI | 12 | @REM "secondlife setup build.bat" http://secondlife.com/app/login/beta/ /DADITI |
13 | @REM | 13 | @REM |
14 | 14 | ||
15 | @IF EXIST ReleaseForDownload\Secondlife.exe GOTO RELEASE_EXE | ||
16 | @IF EXIST Secondlife.exe GOTO LOCAL_EXE | ||
17 | @IF EXIST ReleaseNoOpt\newview_noopt.exe GOTO RELEASE_NOOPT_EXE | ||
18 | |||
19 | @echo Could not find Secondlife.exe! | ||
20 | @pause | ||
21 | exit 0 | ||
22 | |||
23 | :RELEASE_NOOPT_EXE | ||
24 | @echo Cound not find SecondLife.exe. | ||
25 | @echo Using newview_noopt.exe - DEVELOPMENT BUILD! | ||
26 | @pause | ||
27 | SET EXEFILE=ReleaseNoOpt\newview_noopt.exe | ||
28 | SET KDUDLL=ReleaseNoOpt\llkdu.dll | ||
29 | GOTO CONTINUE | ||
30 | |||
31 | :RELEASE_EXE | ||
32 | SET EXEFILE=ReleaseForDownload\Secondlife.exe | ||
33 | SET KDUDLL=ReleaseForDownload\llkdu.dll | ||
34 | GOTO CONTINUE | ||
35 | |||
36 | :LOCAL_EXE | ||
37 | SET EXEFILE=Secondlife.exe | ||
38 | SET KDUDLL=..\..\libraries\i686-win32\lib_release\llkdu.dll | ||
39 | :CONTINUE | ||
40 | |||
41 | @rem Set login page to reflect beta grid status | ||
42 | call "set_login_page.bat" %1 | ||
43 | |||
44 | @rem Extract version information. | ||
45 | branding\ResHacker -extract %EXEFILE%, branding\version.rc, versioninfo, 1, | ||
46 | |||
47 | @rem Process version information. | ||
48 | cd branding | ||
49 | grep FILEVERSION version.rc | gawk "{ print $2; }" > version.txt | ||
50 | gawk -F , "{ print \"!define VERSION_MAJOR \" $1; }" version.txt > version.include | ||
51 | gawk -F , "{ print \"!define VERSION_MINOR \" $2; }" version.txt >> version.include | ||
52 | gawk -F , "{ print \"!define VERSION_PATCH \" $3; }" version.txt >> version.include | ||
53 | gawk -F , "{ print \"!define VERSION_BUILD \" $4; }" version.txt >> version.include | ||
54 | echo !define EXE_LOCATION %EXEFILE% >> version.include | ||
55 | echo !define KDU_DLL %KDUDLL% >> version.include | ||
56 | |||
57 | cd .. | ||
58 | @rem Build installer | ||
59 | "C:\Program Files\NSIS\makensis" %2 %3 %4 %5 %6 %7 %8 %9 "secondlife setup.nsi" | ||
60 | |||
61 | @rem Clean up | ||
62 | del branding\version.include | ||
63 | del branding\version.rc | ||
64 | del branding\version.txt | ||
65 | del branding\ResHacker.log | ||
66 | del branding\ResHacker.ini | ||
67 | |||
68 | @rem Restore login page changes to avoid accidental commits | ||
69 | call "restore_login_page.bat" | ||
70 | |||
71 | 15 | ||
16 | @rem use manifest to build installer | ||
17 | @"viewer_manifest.py" %1 %2 %3 %4 %5 %6 %7 %8 | ||
72 | 18 | ||
73 | @rem pause | 19 | @rem pause |
74 | 20 | ||