Fix an issue in the build script that ignores the brand name (#2675)

pull/2676/head
rumtid 2023-05-16 11:34:05 +08:00 committed by GitHub
parent 03cb6e619a
commit d2290cea83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ def gen_dmg():
# Rename the .app dir to 'Seafile Client.app', and create the shortcut
# to '/Applications' so the user can drag into it when opening the DMG.
brand = conf.get('CONF_BRAND', '')
brand = conf.get(CONF_BRAND, '')
if brand:
final_app = '{}.app'.format(brand)
else:

View File

@ -648,7 +648,7 @@ def gen_dmg():
# Rename the .app dir to 'Seafile Client.app', and create the shortcut
# to '/Applications' so the user can drag into it when opening the DMG.
brand = conf.get('CONF_BRAND', '')
brand = conf.get(CONF_BRAND, '')
if brand:
final_app = '{}.app'.format(brand)
else: