This guide explains how to control your app on the Simulator.
There are three ways of launching an app.
Using 'Launch App' on the menu or ‘App’ button on RCU
Click Menu > File > Launch App or click the App button on the bottom of RCU.
Select the root directory of the app and click OK.
The root directory must be the directory where appinfo.json is located.
Using CLI command
Execute the following command on the terminal.
ares-launch -s VERSION /APP/DIR/PATH
ares-launch -s 22 /home/user/myApp
The path can be either relative or absolute.
VERSION is the version of webOS TV. For example, it would be 22 for webOS TV 22 Simulator.
If there are multiple Simulators installed corresponding to the specified webOS TV version, the latest-version Simulator will be run and launch the app.
Clicking the app icon on the main screen or selecting the app on the app list window
Once an app is launched, its icon is added to the main screen and app list.
Clicking the app icon on the main screen or selecting the app on the app list window will launch the app.
The Web Inspector is launched automatically when the app is run, so you can debug the app with it.
You can close an app by either:
Clicking Menu > File > Close App, or
Clicking the Close button on the bottom of RCU
To remove an app from the main screen and app list window, right-click the app to remove from the main screen or app list window and select Remove.
As soon as you modify and save the code, your app is automatically reloaded, so you can check the result of the modification you made immediately.