default.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "$schema": "../gen/schemas/desktop-schema.json",
  3. "identifier": "default",
  4. "description": "Default capabilities for the application",
  5. "windows": ["main"],
  6. "permissions": [
  7. "core:default",
  8. "core:window:default",
  9. "core:window:allow-close",
  10. "core:window:allow-minimize",
  11. "core:window:allow-maximize",
  12. "core:window:allow-start-dragging",
  13. "core:window:allow-set-size",
  14. "core:window:allow-set-position",
  15. "core:window:allow-set-title",
  16. "core:window:allow-show",
  17. "core:window:allow-hide",
  18. "dialog:default",
  19. "dialog:allow-open",
  20. "dialog:allow-save",
  21. "dialog:allow-message",
  22. "dialog:allow-ask",
  23. "dialog:allow-confirm",
  24. "fs:default",
  25. "fs:allow-read-text-file",
  26. "fs:allow-write-text-file",
  27. "fs:allow-exists",
  28. "fs:allow-mkdir",
  29. "fs:allow-remove",
  30. "fs:allow-rename",
  31. "fs:allow-copy-file",
  32. "http:default",
  33. "process:default",
  34. "process:allow-exit",
  35. "process:allow-restart",
  36. "log:default",
  37. "store:default",
  38. "os:default",
  39. "shell:allow-open",
  40. {
  41. "identifier": "shell:allow-execute",
  42. "allow": [
  43. {
  44. "name": "powershell",
  45. "cmd": "powershell",
  46. "args": true
  47. },
  48. {
  49. "name": "cmd",
  50. "cmd": "cmd",
  51. "args": true
  52. },
  53. {
  54. "name": "node",
  55. "cmd": "node",
  56. "args": true
  57. },
  58. {
  59. "name": "npm",
  60. "cmd": "npm",
  61. "args": true
  62. },
  63. {
  64. "name": "pnpm",
  65. "cmd": "pnpm",
  66. "args": true
  67. },
  68. {
  69. "name": "git",
  70. "cmd": "git",
  71. "args": true
  72. },
  73. {
  74. "name": "code",
  75. "cmd": "code",
  76. "args": true
  77. },
  78. {
  79. "name": "claude",
  80. "cmd": "claude",
  81. "args": true
  82. },
  83. {
  84. "name": "msiexec",
  85. "cmd": "msiexec",
  86. "args": true
  87. },
  88. {
  89. "name": "brew",
  90. "cmd": "brew",
  91. "args": true
  92. },
  93. {
  94. "name": "apt",
  95. "cmd": "apt",
  96. "args": true
  97. },
  98. {
  99. "name": "apt-get",
  100. "cmd": "apt-get",
  101. "args": true
  102. },
  103. {
  104. "name": "where",
  105. "cmd": "where",
  106. "args": true
  107. },
  108. {
  109. "name": "which",
  110. "cmd": "which",
  111. "args": true
  112. }
  113. ]
  114. }
  115. ]
  116. }