@choochmeque/tauri-windows-bundle 0.1.4 → 0.1.5

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.
package/dist/cli.js CHANGED
@@ -404,7 +404,10 @@ function generateExtensions(config) {
404
404
  extensions.push(result.trimEnd());
405
405
  }
406
406
  }
407
- return extensions.length > 0 ? extensions.join('\n\n') : '';
407
+ if (extensions.length === 0) {
408
+ return '';
409
+ }
410
+ return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
408
411
  }
409
412
  function generateCapabilities(capabilities) {
410
413
  return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
package/dist/index.js CHANGED
@@ -402,7 +402,10 @@ function generateExtensions(config) {
402
402
  extensions.push(result.trimEnd());
403
403
  }
404
404
  }
405
- return extensions.length > 0 ? extensions.join('\n\n') : '';
405
+ if (extensions.length === 0) {
406
+ return '';
407
+ }
408
+ return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
406
409
  }
407
410
  function generateCapabilities(capabilities) {
408
411
  return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-windows-bundle",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "MSIX packaging tool for Tauri apps - Windows Store ready bundles",
5
5
  "type": "module",
6
6
  "bin": {