From 01cc3ba18306d7baa2f7d68f2ff330f09f3f7118 Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 12:46:58 -0400 Subject: [PATCH 1/6] Add Philips adn AOC Tvs on support list Signed-off-by: Matheus Monte --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 177d2af..a3d0366 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,8 @@ $ yarn global add react-tv-cli | Target Platform | Status | Available Version | | --- | --- | --- | | `LG WebOS` | stable | 0.3.1 | +| `Philips TVs since 2018.2 models` | stable | 0.3.1 | +| `AOC TVs since 2018 models` | stable | 0.3.1 | | `Samsung Tizen` | [ongoing](https://github.com/raphamorim/react-tv/pull/104) | x | | `Samsung Orsay` | not started yet | x | | `Sony PS4` | not started yet | x | From 4f826ae1fb3d2fadc74507d99cf316b0cce5d2cb Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 12:49:34 -0400 Subject: [PATCH 2/6] add new session on read.me with TVS where package was used, but not have official support frmo the mainteners Signed-off-by: Matheus Monte --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3d0366..bd0962d 100644 --- a/README.md +++ b/README.md @@ -91,13 +91,16 @@ $ yarn global add react-tv-cli | Target Platform | Status | Available Version | | --- | --- | --- | | `LG WebOS` | stable | 0.3.1 | -| `Philips TVs since 2018.2 models` | stable | 0.3.1 | -| `AOC TVs since 2018 models` | stable | 0.3.1 | | `Samsung Tizen` | [ongoing](https://github.com/raphamorim/react-tv/pull/104) | x | | `Samsung Orsay` | not started yet | x | | `Sony PS4` | not started yet | x | | `Nintendo Switch` | not started yet | x | +##### TVs testeds, not official support + +| `Philips TVs since 2018.2 models` | app running | +| `AOC TVs since 2018 models` | app running | + ### Developing for WebOS

From 5d6eab023badb89ed99096468c617764991fe4a2 Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 12:50:40 -0400 Subject: [PATCH 3/6] fix table visualization Signed-off-by: Matheus Monte --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd0962d..5e56fe8 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ $ yarn global add react-tv-cli | `Nintendo Switch` | not started yet | x | ##### TVs testeds, not official support - +| Target Platform | Status | | `Philips TVs since 2018.2 models` | app running | | `AOC TVs since 2018 models` | app running | From 8916c102d27f448f7c0b7a008147c419f61e1517 Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 12:51:57 -0400 Subject: [PATCH 4/6] add form on table Signed-off-by: Matheus Monte --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5e56fe8..cc198f0 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ $ yarn global add react-tv-cli ##### TVs testeds, not official support | Target Platform | Status | +| --- | --- | | `Philips TVs since 2018.2 models` | app running | | `AOC TVs since 2018 models` | app running | From a90e63c90af5be54f2cdd57f930de3fa93f18271 Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 19:03:45 -0400 Subject: [PATCH 5/6] Issue #107 [Change default behavior of react-tv-cli run-webos rather than run emulator as default, now this will list device using ares-cli command] Signed-off-by: Matheus Monte --- packages/react-tv-cli/index.js | 2 +- packages/react-tv-cli/scripts/webos/run.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/react-tv-cli/index.js b/packages/react-tv-cli/index.js index 6bde05d..9c577ed 100755 --- a/packages/react-tv-cli/index.js +++ b/packages/react-tv-cli/index.js @@ -30,7 +30,7 @@ switch (command) { break; case 'setup-webos': - WebOS.setupDevice(); + WebOS.setupDevice('-l'); break; case 'get-key-webos': diff --git a/packages/react-tv-cli/scripts/webos/run.js b/packages/react-tv-cli/scripts/webos/run.js index 7d299e8..6458a2e 100644 --- a/packages/react-tv-cli/scripts/webos/run.js +++ b/packages/react-tv-cli/scripts/webos/run.js @@ -6,7 +6,7 @@ const {getCLIEnv, isReactTVWebOSProject} = require('./shared'); function runEmulator(ENV) { const webOSTVVersion = process.env.WEBOS_CLI_TV_VERSION || false; - const version = (webOSTVVersion) ? `v${webOSTVVersion}` : 'v3.0.0'; + const version = webOSTVVersion ? `v${webOSTVVersion}` : 'v3.0.0'; switch (process.platform) { case 'darwin': execSync( @@ -100,11 +100,11 @@ function run(root, device) { if (!device) { console.log(''); - console.log(chalk.dim('Up Emulator...')); - - runEmulator(webOS_TV_SDK_ENV); - - console.log(chalk.yellow(' LG WebOS Emulator 3.0.0 succefull running')); + console.log(chalk.dim('Choice a device...')); + execSync(`ares-setup-device --list`); + console.log( + chalk.yellow(' Choice a device and run react-tv-cli run-webos ') + ); } let attemps = 0; From 0f42cbb35f5229874a4271a188c4f0892cddffad Mon Sep 17 00:00:00 2001 From: Matheus Monte Date: Tue, 31 Jul 2018 19:06:12 -0400 Subject: [PATCH 6/6] remove typing error on Index file Signed-off-by: Matheus Monte --- packages/react-tv-cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-tv-cli/index.js b/packages/react-tv-cli/index.js index 9c577ed..6bde05d 100755 --- a/packages/react-tv-cli/index.js +++ b/packages/react-tv-cli/index.js @@ -30,7 +30,7 @@ switch (command) { break; case 'setup-webos': - WebOS.setupDevice('-l'); + WebOS.setupDevice(); break; case 'get-key-webos':