kwnetzwelt / unity-build-system

MIT License
59 stars 11 forks source link

add custom runner and configuration instead of using build and run by unity #21

Open kwnetzwelt opened 2 years ago

HamzaRino commented 1 year ago

apparently UBS in the past used a python script as a wrapper around adb and other Android commands. the build step is called Deploy. I think we can replace the python script dependency with a C# script that makes use of the already available ADB wrapper in Unity. we just need to make sure not to use the default build and run behaviour and instead replace it with the custom logic.

optionally run other nice to have options like logcat (even launch logcat window if available).

we should also add a command line parameter (-buildAndRun) for when we use UBS from Unity in batch mode.