@@ -145,8 +145,8 @@ class FrameworkInfo(object):
145145class ApplicationBundleInfo (object ):
146146 def __init__ (self , path : str ):
147147 self .path = path
148- # for backwards compatibility reasons, this must remain as Bitcoin-Qt
149- self .binaryPath = os .path .join (path , "Contents" , "MacOS" , "Bitcoin -Qt" )
148+ # Use DigiByte-Qt for DigiByte builds
149+ self .binaryPath = os .path .join (path , "Contents" , "MacOS" , "DigiByte -Qt" )
150150 if not os .path .exists (self .binaryPath ):
151151 raise RuntimeError (f"Could not find bundle binary for { path } " )
152152 self .resourcesPath = os .path .join (path , "Contents" , "Resources" )
@@ -421,7 +421,7 @@ if os.path.exists(appname + ".zip"):
421421
422422# ------------------------------------------------
423423
424- target = os .path .join ("dist" , "Bitcoin-Qt.app" )
424+ target = os .path .join ("dist" , app_bundle )
425425
426426print ("+ Copying source bundle +" )
427427if verbose :
@@ -498,7 +498,7 @@ if platform.system() == "Darwin":
498498# ------------------------------------------------
499499
500500if config .zip is not None :
501- shutil .make_archive ('{}' .format (appname ), format = 'zip' , root_dir = 'dist' , base_dir = 'Bitcoin-Qt.app' )
501+ shutil .make_archive ('{}' .format (appname ), format = 'zip' , root_dir = 'dist' , base_dir = app_bundle )
502502
503503# ------------------------------------------------
504504
0 commit comments