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 macos

Louis Beaumontafc2e083f7e9
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index 53629610e..2c46747aa 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -440,26 +440,26 @@ if (platform == 'macos') {
}
- // Setup FFMPEG
- if (!(await fs.exists(config.ffmpegRealname))) {
- await $`wget --no-config -nc ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
- await $`tar xf ${config.macos.ffmpegName}.tar.xz`
- await $`mv ${config.macos.ffmpegName} ${config.ffmpegRealname}`
- await $`rm ${config.macos.ffmpegName}.tar.xz`
- } else {
- console.log('FFMPEG already exists');
- }
-
- // Move and rename ffmpeg and ffprobe binaries
- const ffmpegSrc = path.join(cwd, config.ffmpegRealname, 'bin', 'ffmpeg');
-
- // For x86_64
- await fs.copyFile(ffmpegSrc, path.join(cwd, 'ffmpeg-x86_64-apple-darwin'));
-
- // For arm64
- await fs.copyFile(ffmpegSrc, path.join(cwd, 'ffmpeg-aarch64-apple-darwin'));
-
- console.log('Moved and renamed ffmpeg binary for externalBin');
+ // // Setup FFMPEG
+ // if (!(await fs.exists(config.ffmpegRealname))) {
+ // await $`wget --no-config -nc ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
+ // await $`tar xf ${config.macos.ffmpegName}.tar.xz`
+ // await $`mv ${config.macos.ffmpegName} ${config.ffmpegRealname}`
+ // await $`rm ${config.macos.ffmpegName}.tar.xz`
+ // } else {
+ // console.log('FFMPEG already exists');
+ // }
+
+ // // Move and rename ffmpeg and ffprobe binaries
+ // const ffmpegSrc = path.join(cwd, config.ffmpegRealname, 'bin', 'ffmpeg');
+
+ // // For x86_64
+ // await fs.copyFile(ffmpegSrc, path.join(cwd, 'ffmpeg-x86_64-apple-darwin'));
+
+ // // For arm64
+ // await fs.copyFile(ffmpegSrc, path.join(cwd, 'ffmpeg-aarch64-apple-darwin'));
+
+ // console.log('Moved and renamed ffmpeg binary for externalBin');
}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index c8ac3cba1..1c6f235be 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.10.6"
+version = "0.10.7"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json b/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
index 38f47deac..0deb97e4e 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.macos.conf.json
@@ -2,14 +2,6 @@
"bundle": {
"macOS": {
"frameworks": [
- "ffmpeg/lib/libavcodec.61.dylib",
- "ffmpeg/lib/libavdevice.61.dylib",
- "ffmpeg/lib/libavfilter.10.dylib",
- "ffmpeg/lib/libavformat.61.dylib",
- "ffmpeg/lib/libavutil.59.dylib",
- "ffmpeg/lib/libffmpeg.7.dylib",
- "ffmpeg/lib/libswresample.5.dylib",
- "ffmpeg/lib/libswscale.8.dylib",
"../../screenpipe-vision/lib/libscreenpipe.dylib",
"../../screenpipe-vision/lib/libscreenpipe_x86_64.dylib",
"../../screenpipe-vision/lib/libscreenpipe_arm64.dylib"
@@ -24,7 +16,6 @@
},
"externalBin": [
"screenpipe",
- "ffmpeg",
"bun",
"ollama"
]