Move notifyInstall() to TVExtension
Related chromium-efl patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/261490/
Change-Id: I29b1297e49117b855efb0c86eeea9f1df5abe93c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
let wgtPath = `${baseWorkingDir}/${appName}/${appName}.wgt`;
let installinfo = "{\"app_id\":\"" + appName + "\",\"pkg_path\":\"" + wgtPath + "\"}";
console.log(`installWgt info: ${installinfo}`);
- wrt.notifyInstall(installinfo);
+ wrt.tv?.notifyInstall(installinfo);
process.exit();
}