Skip to content

Commit

Permalink
release-app fix
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Dec 24, 2024
1 parent 4e881d3 commit 23942d8
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion screenpipe-app-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
version = "0.21.6"
version = "0.21.7"
description = ""
authors = ["you"]
license = ""
Expand Down
312 changes: 311 additions & 1 deletion screenpipe-app-tauri/src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
]
}
}

0 comments on commit 23942d8

Please sign in to comment.