@24i/smartapps-bigscreen-rnv-build-engine 0.13.1-alpha.1780 → 0.13.2-alpha.1803

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ const forEachSupportedPlatformFlavour = (c, cb) => {
13
13
  const processPlatformFlavours = (platform, platformIndex, platforms) => {
14
14
  const processFlavour = (flavour, flavourIndex, flavours) => {
15
15
  console.log(getProgressMessage(platforms, platformIndex, flavours, flavourIndex));
16
- const scheme = c.runtime.scheme;
16
+ const { scheme } = c.runtime;
17
17
  return cb({ platform, flavour, scheme });
18
18
  };
19
19
  const { supportedFlavours = [] } = c.buildConfig.platforms[platform]?.deploy || {};
@@ -40,6 +40,10 @@ const htmlTemp = (options) => {
40
40
  if (platform === 'tizen') {
41
41
  tizenScripts = '<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>';
42
42
  }
43
+ let webtvScripts = '';
44
+ if (platform === 'webtv') {
45
+ webtvScripts = '<link rel="icon" type="image/x-icon" href="content/favicon.ico">';
46
+ }
43
47
  const errScript = `
44
48
  <script>window.onerror = function(err) {
45
49
  var errDiv = document.getElementById('err');
@@ -60,6 +64,7 @@ ${htmlTag}
60
64
  ${isDebug ? errScript : ''}
61
65
  ${tizenScripts}
62
66
  ${xboxScripts}
67
+ ${webtvScripts}
63
68
  ${headAppend}
64
69
  </head>
65
70
  <body>
package/fixDependency.js CHANGED
@@ -4,15 +4,10 @@ const process = require('process');
4
4
  const fs = require('fs').promises;
5
5
 
6
6
  const main = async (deleteDependencies) => {
7
-
8
7
  console.log("Fix dependencies")
9
-
10
8
  if (deleteDependencies === undefined) return;
11
-
12
9
  for (dependency of deleteDependencies) {
13
-
14
10
  const packageLockFilePath = `${dependency.path}`;
15
-
16
11
  console.log(packageLockFilePath);
17
12
  try {
18
13
  await fs.rm(packageLockFilePath, { recursive: true, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.13.1-alpha.1780+47f21524",
3
+ "version": "0.13.2-alpha.1803+4a976d1c",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -80,7 +80,7 @@
80
80
  "keywords": [],
81
81
  "author": "24i",
82
82
  "license": "ISC",
83
- "gitHead": "47f2152483ee87d3eff5dfb252b51ccd346cb3d9",
83
+ "gitHead": "4a976d1c6c167dadeb7b201bee73fe84854ccce9",
84
84
  "dependencies": {
85
85
  "xml2js": "^0.4.23"
86
86
  }