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:
parent
69500c19e9
commit
96f63f4c3e
7 changed files with 72 additions and 29 deletions
9
receivers/webos/scripts/build.sh
Executable file
9
receivers/webos/scripts/build.sh
Executable 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
|
9
receivers/webos/scripts/debug.sh
Executable file
9
receivers/webos/scripts/debug.sh
Executable 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
|
9
receivers/webos/scripts/get_private_key.sh
Executable file
9
receivers/webos/scripts/get_private_key.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue