open-browser.toml 753 B

12345678910111213141516171819202122232425262728
  1. [[permission]]
  2. identifier = "allow-servo-linux"
  3. platforms = ["linux"]
  4. description = "Allows starting servo on Linux"
  5. commands.allow = ["spawn"]
  6. [[permission.scope.allow]]
  7. command = "servo"
  8. [[permission]]
  9. identifier = "allow-edge-windows"
  10. platforms = ["windows"]
  11. description = "Allows starting edge on Windows"
  12. commands.allow = ["spawn"]
  13. [[permission.scope.allow]]
  14. command = "edge"
  15. [[permission]]
  16. identifier = "allow-safari-macos"
  17. platforms = ["macOS"]
  18. description = "Allows starting safari on macOS"
  19. commands.allow = ["spawn"]
  20. [[permission.scope.allow]]
  21. command = "safari"
  22. [[set]]
  23. identifier = "open-browser"
  24. description = "allows opening a URL on the platform browser"
  25. permissions = ["allow-servo-linux", "allow-edge-windows", "allow-safari-macos"]