mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Make the build script automatically generate the editor apk when needed.
This commit is contained in:
parent
57354fd52a
commit
887e33f32d
@ -499,6 +499,10 @@ if len(sys.argv) > 1:
|
|||||||
|
|
||||||
os.chdir(full_path + 'platform/android/java/')
|
os.chdir(full_path + 'platform/android/java/')
|
||||||
|
|
||||||
|
if 'e' in arg: #editor
|
||||||
|
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotEditor')
|
||||||
|
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotEditor', shell=True)
|
||||||
|
else: #normal templates
|
||||||
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates')
|
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates')
|
||||||
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates', shell=True)
|
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates', shell=True)
|
||||||
elif 'j' in arg:
|
elif 'j' in arg:
|
||||||
|
Loading…
Reference in New Issue
Block a user