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

fix: ci

Louis Beaumont4265783d30ca
diff --git a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
index 2a8874d93..4864e52b6 100644
--- a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
+++ b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
@@ -23,7 +23,7 @@ const config = {
ffmpegRealname: 'ffmpeg',
openblasRealname: 'openblas',
clblastRealname: 'clblast',
- windows: {
+ windows: { // TODO probably windows lack mp3
ffmpegName: 'ffmpeg-7.0-windows-desktop-vs2022-default',
ffmpegUrl: 'https://unlimited.dl.sourceforge.net/project/avbuild/windows-desktop/ffmpeg-7.0-windows-desktop-vs2022-default.7z?viasf=1',
@@ -53,6 +53,7 @@ const config = {
'libasound2-dev', // cpal
'libomp-dev', // OpenMP in ggml.ai
'libstdc++-12-dev', //ROCm
+ 'libmp3lame-dev', // MP3 support
],
},
macos: {
@@ -125,6 +126,11 @@ if (platform == 'windows') {
/* ########## macOS ########## */
if (platform == 'macos') {
+ // Install lame using Homebrew
+ await $`brew install lame`
+ // Copy lame to ffmpeg
+ await $`cp -r /opt/homebrew/opt/lame/lib/* ${config.ffmpegRealname}/lib/`
+
// Setup FFMPEG
if (!(await fs.exists(config.ffmpegRealname))) {
await $`wget -nc --show-progress ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json b/examples/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
index 8733874e6..ae1432223 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
@@ -18,45 +18,6 @@
"store:allow-set",
"store:allow-save",
"store:allow-load",
- "fs:default",
- "fs:allow-remove",
- "fs:allow-read-dir",
- "fs:allow-read-text-file",
- "fs:allow-app-write",
- "fs:allow-exists",
- {
- "identifier": "fs:scope",
- "allow": [
- {
- "path": "**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPCONFIG/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPLOCALDATA/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$CONFIG/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$DATA/**",
- "requireLiteralLeadingDot": false
- }
- ]
- },
{
"identifier": "shell:allow-execute",
"allow": [
diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rs
index a19f65a36..9e2f35786 100644
--- a/screenpipe-server/src/server.rs
+++ b/screenpipe-server/src/server.rs
@@ -516,6 +516,7 @@ echo "Searching for content:"
curl "http://localhost:3030/search?q=test&limit=5&offset=0&content_type=all" | jq
curl "http://localhost:3030/search?limit=5&offset=0&content_type=ocr" | jq
+curl "http://localhost:3030/search?q=libmp3&limit=5&offset=0&content_type=all" | jq