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: app ci

Louis Beaumont1f8c451656c2
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 03a710199..5560e05cd 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -134,6 +134,7 @@ jobs:
if [[ "${{ matrix.platform }}" == "macos-latest" ]]; then
export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
export PKG_CONFIG_ALLOW_CROSS=1
+ export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../Frameworks -C link-arg=-Wl,-rpath,@loader_path/../Frameworks -C link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib"
fi
cargo build --release ${{ matrix.args }}
ls -R target
diff --git a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
index 4d3130c04..fc86ca076 100644
--- a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
+++ b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js
@@ -232,10 +232,10 @@ if (platform == 'macos') {
console.log(`copied more recent screenpipe binary from ${recentPath}`);
} else if (await fs.exists(path1)) {
await $`cp ${path1} screenpipe-aarch64-apple-darwin`;
- console.log("copied aarch64-apple-darwin screenpipe binary");
+ console.log(`copied aarch64-apple-darwin screenpipe binary from ${path1}`);
} else if (await fs.exists(path2)) {
await $`cp ${path2} screenpipe-aarch64-apple-darwin`;
- console.log("copied release screenpipe binary");
+ console.log(`copied release screenpipe binary from ${path2}`);
} else {
console.log("no screenpipe binary found");
}
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 0f1574d7b..688600c34 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -12,6 +12,7 @@
"category": "DeveloperTool",
"copyright": "",
"targets": [
+ "app",
"dmg",
"appimage",
"nsis"
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
index 9a645845a..5b05a288f 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
@@ -10,7 +10,9 @@
"ffmpeg/lib/libffmpeg.7.dylib",
"ffmpeg/lib/libswresample.5.dylib",
"ffmpeg/lib/libswscale.8.dylib",
- "../../../../screenpipe-vision/lib/libscreenpipe.dylib"
+ "../../../../screenpipe-vision/lib/libscreenpipe.dylib",
+ "../../../../screenpipe-vision/lib/libscreenpipe_x86_64.dylib",
+ "../../../../screenpipe-vision/lib/libscreenpipe_arm64.dylib"
],
"entitlements": "entitlements.plist",
"signingIdentity": "-",
diff --git a/screenpipe-vision/lib/libscreenpipe.dylib b/screenpipe-vision/lib/libscreenpipe.dylib
index e5065d58c..0e3bc60e6 100755
Binary files a/screenpipe-vision/lib/libscreenpipe.dylib and b/screenpipe-vision/lib/libscreenpipe.dylib differ