Fix android target options
This commit is contained in:
parent
0d6422f77a
commit
b458438c70
|
@ -285,9 +285,9 @@ project.addSources('Sources');
|
|||
|
||||
if state.target.startswith('android'):
|
||||
bundle = 'org.armory3d.' + wrd.arm_project_package if wrd.arm_project_bundle == '' else wrd.arm_project_bundle
|
||||
f.write("project.targetOptions.android.package = '{0}';\n".format(arm.utils.safestr(bundle)))
|
||||
f.write("project.targetOptions.android_native.package = '{0}';\n".format(arm.utils.safestr(bundle)))
|
||||
if wrd.arm_winorient != 'Multi':
|
||||
f.write("project.targetOptions.android.screenOrientation = '{0}';\n".format(wrd.arm_winorient.lower()))
|
||||
f.write("project.targetOptions.android_native.screenOrientation = '{0}';\n".format(wrd.arm_winorient.lower()))
|
||||
elif state.target.startswith('ios'):
|
||||
bundle = 'org.armory3d.' + wrd.arm_project_package if wrd.arm_project_bundle == '' else wrd.arm_project_bundle
|
||||
f.write("project.targetOptions.ios.bundle = '{0}';\n".format(arm.utils.safestr(bundle)))
|
||||
|
|
Loading…
Reference in a new issue