summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-16 19:46:37 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-16 19:46:37 -0400
commit19f453fc2007f780ae5d819090db206f07d0a9c6 (patch)
tree4cf39d3053704aba3eaa58982ba4fa1d66bb5ddb /indra/newview/viewer_manifest.py
parent016023c780aeb02b281ed52128f286b08d3c9eaf (diff)
SL-18837: Second Life Release.app=>Second Life Viewer.app in tarball
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-xindra/newview/viewer_manifest.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 4bcc26e1d5..1fa4df1682 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -837,7 +837,7 @@ class Darwin_x86_64_Manifest(ViewerManifest):
def construct(self):
# copy over the build result (this is a no-op if run within the xcode
# script)
- self.path(os.path.join(self.args['configuration'], self.app_name() + ".app"), dst="")
+ self.path(os.path.join(self.args['configuration'], self.channel() + ".app"), dst="")
pkgdir = os.path.join(self.args['build'], os.pardir, 'packages')
relpkgdir = os.path.join(pkgdir, "lib", "release")
@@ -1182,10 +1182,12 @@ class Darwin_x86_64_Manifest(ViewerManifest):
tarpath = os.path.join(RUNNER_TEMP, "viewer.tar.bz2")
print(f'Creating {tarpath} from {self.get_dst_prefix()}')
with tarfile.open(tarpath, mode="w:bz2") as tarball:
- # store in the tarball as just 'Second Life Mumble.app'
+ # Store in the tarball as just 'Second Life Mumble.app'
# instead of 'Users/someone/.../newview/Release/Second...'
+ # It's at this point that we rename 'Second Life Release.app'
+ # to 'Second Life Viewer.app'.
tarball.add(self.get_dst_prefix(),
- arcname=os.path.basename(self.get_dst_prefix()))
+ arcname=self.app_name() + ".app")
self.set_github_output_path('viewer_app', tarpath)