aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/secondlife setup build.bat
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/secondlife setup build.bat
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-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.bat58
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
21exit 0
22
23:RELEASE_NOOPT_EXE
24@echo Cound not find SecondLife.exe.
25@echo Using newview_noopt.exe - DEVELOPMENT BUILD!
26@pause
27SET EXEFILE=ReleaseNoOpt\newview_noopt.exe
28SET KDUDLL=ReleaseNoOpt\llkdu.dll
29GOTO CONTINUE
30
31:RELEASE_EXE
32SET EXEFILE=ReleaseForDownload\Secondlife.exe
33SET KDUDLL=ReleaseForDownload\llkdu.dll
34GOTO CONTINUE
35
36:LOCAL_EXE
37SET EXEFILE=Secondlife.exe
38SET KDUDLL=..\..\libraries\i686-win32\lib_release\llkdu.dll
39:CONTINUE
40
41@rem Set login page to reflect beta grid status
42call "set_login_page.bat" %1
43
44@rem Extract version information.
45branding\ResHacker -extract %EXEFILE%, branding\version.rc, versioninfo, 1,
46
47@rem Process version information.
48cd branding
49grep FILEVERSION version.rc | gawk "{ print $2; }" > version.txt
50gawk -F , "{ print \"!define VERSION_MAJOR \" $1; }" version.txt > version.include
51gawk -F , "{ print \"!define VERSION_MINOR \" $2; }" version.txt >> version.include
52gawk -F , "{ print \"!define VERSION_PATCH \" $3; }" version.txt >> version.include
53gawk -F , "{ print \"!define VERSION_BUILD \" $4; }" version.txt >> version.include
54echo !define EXE_LOCATION %EXEFILE% >> version.include
55echo !define KDU_DLL %KDUDLL% >> version.include
56
57cd ..
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
62del branding\version.include
63del branding\version.rc
64del branding\version.txt
65del branding\ResHacker.log
66del branding\ResHacker.ini
67
68@rem Restore login page changes to avoid accidental commits
69call "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