default.json 807 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "$schema": "../gen/schemas/desktop-schema.json",
  3. "identifier": "default",
  4. "description": "Capability for the main window",
  5. "windows": ["main"],
  6. "permissions": [
  7. "core:default",
  8. "core:window:allow-create",
  9. "core:window:allow-set-title",
  10. "core:webview:allow-create-webview-window",
  11. "opener:default",
  12. "dialog:default",
  13. "store:default",
  14. "updater:default",
  15. {
  16. "identifier": "http:default",
  17. "allow": [
  18. { "url": "http://*" },
  19. { "url": "http://*/*" },
  20. { "url": "http://*:*" },
  21. { "url": "http://*:*/*" },
  22. { "url": "http://**" },
  23. { "url": "https://*" },
  24. { "url": "https://*/*" },
  25. { "url": "https://*:*" },
  26. { "url": "https://*:*/*" },
  27. { "url": "https://**" }
  28. ]
  29. }
  30. ]
  31. }