My new phone has some policy configured that does not allow for sideloading from any kind of app. Thus the only option to install F-Droid and related apps is by (temporarily) enabling USB-debugging and installing / updating these via adb install.
To make this procedure more convenient on my PC, I’m looking for a small script (bash, python, …) to automate this. I would think of comparing installed package versions against latest available packages from F-Droid and updating / reinstalling them when needed.
Anyone to point me to a nice solution for this?