Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Add Tvs where package was tested and running well and Solve issue #107 #131

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ $ yarn global add react-tv-cli
| `Sony PS4` | not started yet | x |
| `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 |

### Developing for WebOS

<p align="center"><img src="http://ksassets.timeincuk.net/wp/uploads/sites/54/2015/07/lg-webOS-2-0-2015-Main-1.jpg" /></p>
Expand Down
12 changes: 6 additions & 6 deletions packages/react-tv-cli/scripts/webos/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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 <device>')
);
}

let attemps = 0;
Expand Down