Add an option to install Android templates via CLI
Allows to install Android template from cli, good for CI and quick devlopment (not tested yet... would like some feedback before compiling godot main a million times)
@akien-mga @HEAVYPOLY As we talked in RocketChat (crrently you'll need to first copy the zp file to correct directory)
if we need a way to install by path it would take significaly more work (currently the only thing that does somthing like that is the download template which heavily relise on the UI and does things Im not familiar enough to replicate)
- Bugsquad edit: This closes https://github.com/godotengine/godot/issues/38327.
#50481 implemented support for install the source template from an arbitrary path (in the editor). This could likely be reused to make it possible to support both pre-installed Android templates and custom ones from CLI too.
I did put WIP here because I waited for that 😄
Whats the status of this?
This needs to be cross-reviewed with the newer attempt by @AntonioDell #63408.
I like the implied --editor approach better than mine. If they are functionally equivalent, I suggest using this implementation instead of mine :D Nice work!
Anything need to be changed here in order to work? Didn't had the time for a lot of time 😅
@akien-mga I think we can close this, correct?
Well we need to see which implementation is best between #50264 and #63408 or a mix of the two.
Oh, I tought it was merged for some reason
https://github.com/godotengine/godot/pull/63408 was closed in favor of this by its author. So we should finalize this one. @thebestnom Please rebase this and also amend the commit message to state something like "Add an option to install Android templates via CLI".
What is currently stopping this from moving forward?
Both the backlog from reviewers, but also the fact that the author isn't active anymore, and this PR is still in draft status. Someone would need to take it over to bring it to the finish line.
It doesn't seem too far from ready, so I may do it myself, but I'm already spread pretty thin. So anyone is welcome to give it a go.
This was superseded almost two years ago now by #85819, which added a --install-android-build-template argument. That "new" argument was however only documented fairly recently, in godotengine/godot-docs#11052.
- Superseded by https://github.com/godotengine/godot/pull/85819. Thanks for the contribution nonetheless!