Skip to content

Commit

Permalink
Merge pull request #1197 from brave/sparkle-appguid
Browse files Browse the repository at this point in the history
Use correct appguid for darwin when uploading to Omaha
  • Loading branch information
bbondy authored Jan 3, 2019
2 parents 4b992d0 + 6244670 commit 5482075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/lib/omaha.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ def get_base64_authorization(omahaid, omahapw):

# To-Do: Add functions to create apps
def get_appguid(channel, platform):
if channel in 'dev' or channel in 'release' and platform in 'darwin':
if channel in ['dev'] or platform in ['darwin'] and channel in ['beta', 'dev', 'release']:
return '{CB2150F2-595F-4633-891A-E39720CE0531}'
elif channel in 'beta':
elif channel in ['beta']:
return '{103BD053-949B-43A8-9120-2E424887DE11}'
elif channel in 'release':
elif channel in ['release']:
return '{AFE6A462-C574-4B8A-AF43-4CC60DF4563B}'


Expand Down

0 comments on commit 5482075

Please sign in to comment.