aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-09-08 17:49:52 -0700
committerMcCabe Maxsted2011-09-08 17:49:52 -0700
commit31e430a85b62e92952400bfc2b092cd39cd8d663 (patch)
tree5261a7d54a7689a7e7bc7f6c46d365120fe3f32f /linden/indra/newview
parentRebranded the Windows isntaller template back to Imp (diff)
downloadmeta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.zip
meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.gz
meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.bz2
meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.xz
Fixed windows packaging merge errors
Diffstat (limited to 'linden/indra/newview')
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index 3221974..4d672f0 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -35,7 +35,7 @@
35# Instead, run develop.py with "configure -DPACKAGE:BOOL=ON" e.g.: 35# Instead, run develop.py with "configure -DPACKAGE:BOOL=ON" e.g.:
36# develop.py -G vc80 configure -DPACKAGE:BOOL=ON 36# develop.py -G vc80 configure -DPACKAGE:BOOL=ON
37# to generate the "package" project in Visual Studio 2005 37# to generate the "package" project in Visual Studio 2005
38# Note: as of Imprudence 1.3, this defaults to on for Windows 38# Note: use the batch file on Windows in the indra directory
39 39
40import sys 40import sys
41import os.path 41import os.path
@@ -219,14 +219,15 @@ class ViewerManifest(LLManifest):
219 219
220 220
221class WindowsManifest(ViewerManifest): 221class WindowsManifest(ViewerManifest):
222 # we always want these to be named imprudence.exe to avoid settings conflicts
222 def final_exe(self): 223 def final_exe(self):
223 if self.default_channel(): 224 #if self.default_channel():
224 if self.default_grid(): 225 # if self.default_grid():
225 return "imprudence.exe" 226 return "imprudence.exe"
226 else: 227 # else:
227 return "imprudencepreview.exe" 228 # return "imprudencepreview.exe"
228 else: 229 #else:
229 return ''.join(self.channel().split()) + '.exe' 230 # return ''.join(self.channel().split()) + '.exe'
230 231
231 232
232 def construct(self): 233 def construct(self):
@@ -235,6 +236,8 @@ class WindowsManifest(ViewerManifest):
235 # nor do we have a fixed name for the executable 236 # nor do we have a fixed name for the executable
236 self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'releasesse2/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe()) 237 self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'releasesse2/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe())
237 238
239 # copy over the the pdb file for the regular or SSE2 versions if we don't already have one copied
240 symbol_ver = '.'.join(self.args['version'])
238 symbol_file = 'imprudence-%s.%s.pdb' % (symbol_ver, self.args['configuration']) 241 symbol_file = 'imprudence-%s.%s.pdb' % (symbol_ver, self.args['configuration'])
239 symbol_path = '../../../../../pdb_files/%s' % (symbol_file) 242 symbol_path = '../../../../../pdb_files/%s' % (symbol_file)
240 if os.path.isfile(os.getcwd() + symbol_path): 243 if os.path.isfile(os.getcwd() + symbol_path):