Fix macOS version not selecting the right installer template folder for non-privte builds.

meow-7.2.2
Tonya Souther 2020-02-28 20:15:10 -06:00
parent 60ba263e5c
commit b0b16a622a
1 changed files with 5 additions and 0 deletions

View File

@ -248,6 +248,11 @@ class ViewerManifest(LLManifest,FSViewerManifest):
def channel_type(self): # returns 'release', 'beta', 'project', or 'test'
channel_qualifier=self.channel_variant().lower()
#<FS:TS> Somehow, we started leaving the - separating the variant from the app name
# on the beginning of the channel qualifier. This screws up later processing that
# depends on the channel type. If it's there, we chop it off.
if channel_qualifier[0] == '-':
channel_qualifier = channel_qualifier[1:]
if channel_qualifier.startswith('release'):
channel_type='release'
elif channel_qualifier.startswith('beta'):