@choochmeque/tauri-windows-bundle 0.1.5 → 0.1.6

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
@@ -410,7 +410,14 @@ function generateExtensions(config) {
410
410
  return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
411
411
  }
412
412
  function generateCapabilities(capabilities) {
413
- return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
413
+ const caps = [];
414
+ // runFullTrust is always required for Tauri apps using Windows.FullTrustApplication
415
+ caps.push(' <rescap:Capability Name="runFullTrust" />');
416
+ // Add user-specified capabilities
417
+ for (const cap of capabilities) {
418
+ caps.push(` <Capability Name="${cap}" />`);
419
+ }
420
+ return caps.join('\n');
414
421
  }
415
422
  function generateClsid(seed) {
416
423
  // Generate a deterministic GUID-like string from the seed
package/dist/index.js CHANGED
@@ -408,7 +408,14 @@ function generateExtensions(config) {
408
408
  return ` <Extensions>\n${extensions.join('\n\n')}\n </Extensions>`;
409
409
  }
410
410
  function generateCapabilities(capabilities) {
411
- return capabilities.map((cap) => ` <Capability Name="${cap}" />`).join('\n');
411
+ const caps = [];
412
+ // runFullTrust is always required for Tauri apps using Windows.FullTrustApplication
413
+ caps.push(' <rescap:Capability Name="runFullTrust" />');
414
+ // Add user-specified capabilities
415
+ for (const cap of capabilities) {
416
+ caps.push(` <Capability Name="${cap}" />`);
417
+ }
418
+ return caps.join('\n');
412
419
  }
413
420
  function generateClsid(seed) {
414
421
  // Generate a deterministic GUID-like string from the seed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-windows-bundle",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "MSIX packaging tool for Tauri apps - Windows Store ready bundles",
5
5
  "type": "module",
6
6
  "bin": {