- name = ''
- if hasattr(target, 'archs') and sorted(target.archs) == sorted(('arm64', 'x86_64')):
- name = 'arm-intel'
- elif hasattr(target, 'arch'):
- if target.arch == 'x86_64':
- name = 'intel'
- elif target.arch == 'arm64':
- name = 'arm'
- target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s %s' % (target.environment_prefix, target.directory, name, target.sdk, target.apple_id, target.apple_password))
+ target.command('bash platform/osx/make_dmg.sh %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password))