Skip to content

Commit 4f6a21a

Browse files
committed
Add permissions to metadata
1 parent 286ba65 commit 4f6a21a

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

src/Audio/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "user_interface",
33
"description": "Play audio with media controls",
44
"panels": ["code", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--socket=pulseaudio"]
67
}

src/HTTP Image/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "network",
33
"description": "Load and display an image from an HTTP URL",
44
"panels": ["code", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--device=network"]
67
}

src/HTTP Request/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "network",
33
"description": "Make a request to an API",
44
"panels": ["code", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--device=network"]
67
}

src/HTTP Server/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "network",
33
"description": "Interact with HTTP clients and browsers",
44
"panels": ["code", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--device=network"]
67
}

src/Video/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "user_interface",
33
"description": "Display video with media controls",
44
"panels": ["code", "ui", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--socket=pulseaudio"]
67
}

src/WebSocket Client/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"category": "network",
33
"description": "Using libsoup to establish a WebSocket connection",
44
"panels": ["code", "preview"],
5-
"autorun": true
5+
"autorun": true,
6+
"flatpak-finish-args": ["--device=network"]
67
}

0 commit comments

Comments
 (0)