Fix the icon paths for non-standard builds

master
Beq 2024-10-22 17:28:22 +01:00
parent 524c1c5810
commit 7dc08a7d07
1 changed files with 6 additions and 2 deletions

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"""