1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00

webOS: Added Docker container for local development

This commit is contained in:
Michael Hollister 2025-05-07 18:12:38 -05:00
parent 69500c19e9
commit 96f63f4c3e
7 changed files with 72 additions and 29 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
cd fcast-receiver
npm run build
cd ../fcast-receiver-service
npm run build
cd ../
ares-package fcast-receiver/dist/ fcast-receiver-service/dist/ --no-minify

View file

@ -0,0 +1,9 @@
#!/bin/bash
version=$(jq -r '.version' fcast-receiver/package.json)
scripts/build.sh
ares-install --device tv ./com.futo.fcast.receiver_${version}_all.ipk
ares-inspect --device tv -s com.futo.fcast.receiver.service &
sleep 5
ares-inspect --device tv --app com.futo.fcast.receiver

View file

@ -0,0 +1,9 @@
#!/usr/bin/expect -f
set timeout -1
spawn {*}$argv
expect "SSH Private Key: /root/.ssh/tv_webos"
send -- "$env(PASSPHRASE)\n"
expect eof