46 lines
981 B
JSON
46 lines
981 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "主窗口最小能力集:原生另存为 + 写文件 + 白名单取图",
|
|
"windows": [
|
|
"main"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:default",
|
|
"fs:allow-write-file",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "https://*.volces.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.aliyuncs.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.myqcloud.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.qiniucdn.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.cloudfront.net/**"
|
|
},
|
|
{
|
|
"url": "https://*.googleusercontent.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.openai.org/**"
|
|
},
|
|
{
|
|
"url": "https://*.oaistatic.com/**"
|
|
},
|
|
{
|
|
"url": "https://*.blob.core.windows.net/**"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|