Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app fix

Louis Beaumont23942d84e582
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index be652ffa3..e510a6c14 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -144,6 +144,11 @@ jobs:
with:
ref: ${{ github.event.inputs.commit_hash || github.ref }}
+ - name: skip self hosted
+ if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
+ run:
+ exit 1
+
- name: Update version in Cargo.toml
if: github.event.inputs.commit_hash && github.event.inputs.version && matrix.platform != 'macos-latest'
shell: pwsh
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 72fc63ade..04ac9994b 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.21.6"
+version = "0.21.7"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/capabilities/main.json b/screenpipe-app-tauri/src-tauri/capabilities/main.json
index a3c1dbdf3..e2c206d84 100644
--- a/screenpipe-app-tauri/src-tauri/capabilities/main.json
+++ b/screenpipe-app-tauri/src-tauri/capabilities/main.json
@@ -37,6 +37,161 @@
"global-shortcut:allow-unregister",
"global-shortcut:allow-unregister-all",
"global-shortcut:default",
+ {
+ "identifier": "fs:scope",
+ "allow": [
+ {
+ "path": "$XDG_DATA_HOME",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$XDG_DATA_HOME/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$LOCALAPPDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$LOCALAPPDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPLOCALDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPLOCALDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPCONFIG/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$RESOURCE/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$RESOURCE/.screenpipe/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APP/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/data/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/pipes/**",
+ "requireLiteralLeadingDot": false
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "exec-sh",
+ "cmd": "sh",
+ "args": [
+ "-c",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": false
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "purge",
+ "-y"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-spawn",
+ "allow": [
+ {
+ "name": "screenpipe",
+ "cmd": "screenpipe",
+ "args": [
+ "setup"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-spawn",
+ "allow": [
+ {
+ "name": "screenpipe",
+ "cmd": "screenpipe",
+ "args": [
+ "migrate"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-spawn",
+ "allow": [
+ {
+ "name": "ollama",
+ "cmd": "ollama",
+ "args": [
+ "serve"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-spawn",
+ "allow": [
+ {
+ "name": "ollama-run",
+ "cmd": "ollama",
+ "args": [
+ "run",
+ {
+ "validator": "\\S*"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
"cli:default",
"shell:default",
"shell:allow-spawn",
@@ -49,6 +204,161 @@
"core:path:default",
"process:default",
"core:webview:allow-internal-toggle-devtools",
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-list",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "list",
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-download",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "download",
+ {
+ "validator": "\\S+"
+ },
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-enable",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "enable",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-disable",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "disable",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-update",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "update",
+ {
+ "validator": "\\S+"
+ },
+ {
+ "validator": "\\{.*\\}"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-delete",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "delete",
+ {
+ "validator": "\\S+"
+ },
+ "--yes"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-info",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "info",
+ {
+ "validator": "\\S+"
+ },
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "http:default",
+ "allow": [
+ {
+ "url": "http://**/*",
+ "methods": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH",
+ "HEAD",
+ "OPTIONS"
+ ]
+ },
+ {
+ "url": "https://**/*",
+ "methods": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH",
+ "HEAD",
+ "OPTIONS"
+ ]
+ }
+ ]
+ },
"deep-link:default"
]
-}
\ No newline at end of file
+}