refactor: remove tv-connect and tv-install helpers
build / build (push) Has been cancelled

tv-deploy covers the normal workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 20:16:07 +02:00
parent 5991a4291a
commit a8ff404116
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -35,9 +35,7 @@ post-25.11). No file rewriting; `gradle.properties` stays untouched.
- Single APK: `gradle --no-daemon :app:assembleWeatherRelease`
- Deploy all: `tv-deploy` — connects, installs all flavor APKs, disconnects
(bump `versionCode` in app/build.gradle.kts first for upgrades)
- Connect ADB: `tv-connect` (uses $TV_IP from .envrc)
- Single flavor: `tv-install <flavor>` e.g. `tv-install weather`
- Fresh install: `adb uninstall cz.c3c.webviewkiosk.<flavor> && tv-install <flavor>`
- Fresh install: `adb connect $TV_IP:5555 && adb uninstall cz.c3c.webviewkiosk.<flavor> && adb install app/build/outputs/apk/<flavor>/release/<flavor>-release.apk`
## Key facts
-2
View File
@@ -65,8 +65,6 @@
FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = fonts; };
shellHook = ''
tv-connect() { adb connect "$TV_IP:5555"; }
tv-install() { adb install -r "app/build/outputs/apk/$1/release/$1-release.apk"; }
tv-deploy() (
trap 'adb disconnect "$TV_IP:5555"' EXIT
adb connect "$TV_IP:5555" || return 1