feat(images): share target working and receiving images!

This commit is contained in:
2025-04-21 11:44:34 +01:00
parent 9f215bb3d1
commit 6211945e3d
8 changed files with 103 additions and 24 deletions

View File

@@ -1,26 +1,39 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:default",
"core:window:allow-start-dragging",
"http:default",
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main"
],
"permissions": [
"core:default",
"core:window:allow-start-dragging",
"http:default",
"sharetarget:default",
{
"identifier": "fs:scope",
"allow": [
{
"identifier": "http:default",
"allow": [
{
"url": "https://haystack.johncosta.tech"
},
{
"url": "http://localhost:3040"
},
{
"url": "http://192.168.1.199:3040"
}
]
"path": "$APPDATA/databases/*"
}
]
},
{
"identifier": "http:default",
"allow": [
{
"url": "https://haystack.johncosta.tech"
},
"log:default"
]
}
{
"url": "http://localhost:3040"
},
{
"url": "http://192.168.1.199:3040"
}
]
},
"log:default",
"fs:default",
"fs:default"
]
}