From 869771f7c9b6ef30d01120b68b3759aeac74fea5 Mon Sep 17 00:00:00 2001
From: Glenn Glazer <coyot@lindenlab.com>
Date: Mon, 17 Apr 2017 13:09:19 -0700
Subject: SL-617: alter viewer manifest to write exe name to summary.json,
 upgrade VMP package to 504292 to read it

---
 indra/newview/viewer_manifest.py | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'indra')

diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index f6bbe7365a..bac80d8c13 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -206,6 +206,9 @@ class ViewerManifest(LLManifest):
             summary_dict = {"Type":"viewer","Version":'.'.join(self.args['version']),
                             "Channel":self.channel_with_pkg_suffix(),
                             "Platform":summary_json_platform}
+            #MAINT-7294: Windows exe names depend on channel name, so write that in also
+            if summary_json_platform.startswith('win'):
+                summary_dict.update({'Executable':self.channel_with_pkg_suffix().replace(' ', '')+'.exe'})
             with open(os.path.join(os.pardir,'summary.json'), 'w') as summary_handle:
                 json.dump(summary_dict,summary_handle)
 
-- 
cgit v1.2.3