mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +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/')
|
||||
|
||||
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')
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user