roku device - sets platform

This commit is contained in:
2023-03-06 15:50:56 +00:00
parent 123616f767
commit 8280e09a7d
2 changed files with 36 additions and 4 deletions

View File

@@ -13,13 +13,15 @@ _roku_device()
{
if [ "$1" != "" ]; then
export ROKU_DEV_TARGET="$1"
export ROKU_DEV_PLATFORM="$(_roku.sh device_platform)"
fi
echo $ROKU_DEV_TARGET
echo "device: $ROKU_DEV_TARGET"
echo "platform: $ROKU_DEV_PLATFORM"
}
roku()
{
if [ "$1" = "device" ]; then
if [ "$1" = "device" -a "$2" != "info" ]; then
shift
_roku_device "$@"
else