Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Merge PR #1216: tools/manage.py: add-ons, themes and switches in one place, installed the creator's way
Gathin2357ee4bd6a439
diff --cc addons/README.mdindex 891ad50db,b75865b51..1c29d577d--- a/addons/README.md+++ b/addons/README.md@@@ -42,42 -40,16 +42,49 @@@ TV_HOST=<tv ip> tools/venv/bin/python -TV_HOST=<tv ip> tools/venv/bin/python -I tools/tv.py 'pm install -r /data/local/tmp/addon.apk; rm -f /data/local/tmp/addon.apk'```+**Windows (Command Prompt):**++```bat+set TV_HOST=<tv ip>+cd addons\<name>+gradlew.bat assembleRelease+cd ..\..+tools\venv\Scripts\python.exe -I tools\tv.py --push addons\<name>\app\build\outputs\apk\release\app-release.apk /data/local/tmp/addon.apk+tools\venv\Scripts\python.exe -I tools\tv.py "pm install -r /data/local/tmp/addon.apk; rm -f /data/local/tmp/addon.apk"+```++<details>+<summary><b>When something goes wrong with <code>gradlew.bat assembleRelease</code></b></summary>++If the build fails with:++```text+FAILURE: Build failed with an exception.++What went wrong:+Could not determine the dependencies of task ':app:lintVitalReportRelease'.+> SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at 'C:\...\addons\<name>\local.properties'.+```++**Solution:**++Create a `local.properties` file inside `addons/<name>/` pointing to your Android SDK installation path:++```properties+sdk.dir=C:/Users/<user name>/AppData/Local/Android/Sdk+```++*(Replace `<user name>` with your Windows user name. Use forward slashes: a backslash is an escape character in this file.)*++</details>++ Or let `tools/manage.py` do it the creator's way: it lists every add-on with its screenshot, shows which are on+ the TV, and installs, updates or removes one by running the add-on's own `install.sh` or `build-and-install.sh`+ (or the three steps above when it has none):-+ ```bash+ tools/venv/bin/python -I tools/manage.py list addons+ TV_HOST=<tv ip> tools/venv/bin/python -I tools/manage.py status+ TV_HOST=<tv ip> tools/venv/bin/python -I tools/manage.py install weather-```-## Rules- **Its own app.** One folder per add-on, `addons/<name>/`, with its own Gradle project