You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

51 lines
1.0 KiB

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main"
],
"permissions": [
"core:default",
"opener:default",
{
"identifier": "http:default",
"allow": [
{
"url": "https://www.threads.com"
},
{
"url": "https://api.openai.com/v1/embeddings"
},
{
"url": "http://localhost:1420"
},
{
"url": "http://localhost:6333"
}
],
"deny": [
{
"url": "https://www.dcard.tw"
}
]
},
"fs:default",
"fs:allow-read-dir",
"fs:allow-exists",
{
"identifier": "fs:allow-read-dir",
"allow": [
{ "path": "$RESOURCE" },
{ "path": "$RESOURCE/**/*" }
]
},
{
"identifier": "fs:allow-write",
"allow": [
{ "path": "$RESOURCE" },
{ "path": "$RESOURCE/**/*" }
]
}
]
}