Fix the icon paths for non-standard builds

This commit is contained in:
Beq
2024-10-22 17:28:22 +01:00
parent 524c1c5810
commit 7dc08a7d07
+6 -2
View File
@@ -367,10 +367,14 @@ class ViewerManifest(LLManifest,FSViewerManifest):
def icon_path(self):
# <FS:ND> Add -os for oss builds
chan = self.channel_type()
if chan in ['alpha', 'nightly','manual', 'profiling']:
chan = 'test'
if self.fs_is_opensim():
return "icons/" + self.channel_type() + "-os"
return "icons/" + chan + "-os"
# </FS:ND>
return "icons/" + self.channel_type()
return "icons/" + chan
def extract_names(self,src):
"""Extract contributor names from source file, returns string"""