@24i/smartapps-bigscreen-rnv-build-engine 0.13.1-alpha.1773 → 0.13.1-alpha.1775

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.
@@ -98,7 +98,7 @@ const readContent = async (c, path) => {
98
98
  let content = [];
99
99
  try {
100
100
  const res = await fs.readdir(srcDirectory, { withFileTypes: true });
101
- for (var i = 0; i < res.length; i++) {
101
+ for (let i = 0; i < res.length; i++) {
102
102
  const file = res[i];
103
103
  const fileNameWithPath = `${path}/${file.name}`;
104
104
  if (file.isDirectory()) {
@@ -118,12 +118,11 @@ const readContent = async (c, path) => {
118
118
  const addPackagedFiles = async (c) => {
119
119
  logTask('addPackagedFiles');
120
120
  const destinationDirectory = `${getBuildFolder(c)}${packagedAppSource}/App.jsproj`;
121
- const srcDirectory = `${getBuildFolder(c)}${packagedAppSource}/src`;
122
121
  try {
123
122
  let xmlString = await fs.readFile(destinationDirectory, 'utf-8');
124
123
  const xmlObject = await xml2js.parseStringPromise(xmlString);
125
124
  const srcDirectoryContent = await readContent(c, 'src');
126
- srcDirectoryContent.forEach(element => {
125
+ srcDirectoryContent.forEach((element) => {
127
126
  const contentElement = { $: { Include: element } };
128
127
  xmlObject.Project.ItemGroup[1].Content.push(contentElement);
129
128
  });
@@ -192,7 +191,8 @@ const replaceImages = async (c) => {
192
191
  }
193
192
  };
194
193
  const copyWinJS = async (c) => {
195
- const source = process.cwd() + '/node_modules/@24i/smartapps-bigscreen-rnv-build-engine/dist/src/sdks/sdk-xbox/winjs/directionalnavigation-1.0.0.0.js ';
194
+ logTask('copyWinJS');
195
+ const source = process.cwd() + '/node_modules/@24i/smartapps-bigscreen-driver-xbox/winjs/directionalnavigation-1.0.0.0.js';
196
196
  const packagedAppDestination = `${getBuildFolder(c)}${packagedAppSource}/lib/TVHelpers`;
197
197
  const hostedAppDestination = `${getBuildFolder(c)}${hostedAppSource}/lib/TVHelpers`;
198
198
  try {
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.1773+0ebc4329",
3
+ "version": "0.13.1-alpha.1775+1d878bc8",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -79,5 +79,5 @@
79
79
  "keywords": [],
80
80
  "author": "24i",
81
81
  "license": "ISC",
82
- "gitHead": "0ebc4329453234fbbac0aa10a47c6a2245d9a67a"
82
+ "gitHead": "1d878bc85068939bc499d0d1cc67c70d7790f659"
83
83
  }