Fix mac deployment again

This commit is contained in:
Daniel Molkentin 2015-04-16 16:28:34 +02:00
parent 8bb4af067a
commit 96ff0076c7

View file

@ -264,6 +264,8 @@ def CopyFramework(path):
commands.append(args)
info_plist = os.path.join(os.path.split(path)[0], '..', '..', 'Contents', 'Info.plist')
if not os.path.exists(info_plist):
info_plist = os.path.join(os.path.split(path)[0], 'Resources', 'Info.plist')
if os.path.exists(info_plist):
args = ['cp', '-r', info_plist, os.path.join(frameworks_dir, framework, "Resources")]
commands.append(args)