default.json 835 B

1234567891011121314151617181920212223242526272829303132
  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. "notification:default",
  16. {
  17. "identifier": "http:default",
  18. "allow": [
  19. { "url": "http://*" },
  20. { "url": "http://*/*" },
  21. { "url": "http://*:*" },
  22. { "url": "http://*:*/*" },
  23. { "url": "http://**" },
  24. { "url": "https://*" },
  25. { "url": "https://*/*" },
  26. { "url": "https://*:*" },
  27. { "url": "https://*:*/*" },
  28. { "url": "https://**" }
  29. ]
  30. }
  31. ]
  32. }