vxrn 2.6.18 → 2.6.20

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.
@@ -1481,8 +1481,8 @@ function renderPrebuildFile(args) {
1481
1481
  destRelativePath = destRelativePath.split(ANDROID_PACKAGE_PATH).join(packagePath);
1482
1482
  }
1483
1483
  destRelativePath = destRelativePath.replace(/HelloWorld/g, appName).replace(/helloworld/g, appName.toLowerCase());
1484
- let rendered = content;
1485
- if (rendered !== null) {
1484
+ if (content !== null) {
1485
+ let rendered = content;
1486
1486
  const replacements = [];
1487
1487
  if (platform === "ios" && app.ios) {
1488
1488
  replacements.push([IOS_BUNDLE_PLACEHOLDER, app.ios.bundleId]);
@@ -2077,10 +2077,14 @@ ${app.android.proguardRules.trim()}
2077
2077
  if (value === void 0) continue;
2078
2078
  rendered = rendered.replace(new RegExp(`${setting} = \\d+`, "g"), `${setting} = ${value}`);
2079
2079
  }
2080
+ return {
2081
+ destRelativePath,
2082
+ content: rendered
2083
+ };
2080
2084
  }
2081
2085
  return {
2082
2086
  destRelativePath,
2083
- content: rendered
2087
+ content
2084
2088
  };
2085
2089
  }
2086
2090
  const generateForPlatform = async (root, platform, app, outDir = path.resolve(root, platform)) => {