1

我可以使用 ares 工具在 webOS 电视上毫无问题地安装 webOS 应用程序。

LG 告诉我 webOS 设备还支持兼容模式下的 NetCast 和 Smart TV Alliance 应用程序,但是,我不知道如何在兼容模式下的 webOS 设备上安装 NetCast 或 STA 应用程序。有人想通了吗?

4

1 回答 1

2

您需要使用包含名为appinfo.json的文件的 ares 工具打包您的应用程序

该文件需要包含以下行(至少对我而言);

 "id": "app package name",
"icon": "icon.png",
"title": "App Title",
"vendor": "App Vendor",
"testMode": "devTest",
"trustLevel": "netcast", //this line is important
"resolution": "1280x720",
"uiRevision": 2,
"largeIcon": "largeIcon.png",
"type": "web",
"main": "index.html",
"version": "0.0.1"

然后你将使用命令ares-package <folder-path-to-lgApp-contains-above-file>

然后这将确保您拥有一个与 webos 一样的 ipk。

于 2017-02-20T08:03:00.727 回答