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

42th attempt to fix windows build

Louis Beaumontddde3083886f
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index d586d59bb..26d60a796 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -231,6 +231,10 @@ if (platform == 'linux') {
let copied = false;
for (const screenpipeSrc of potentialPaths) {
+ if (process.env['SKIP_SCREENPIPE_SETUP']) {
+ copied = true;
+ break;
+ }
const screenpipeDest = path.join(cwd, 'screenpipe-x86_64-unknown-linux-gnu');
try {
await fs.copyFile(screenpipeSrc, screenpipeDest);
@@ -267,6 +271,10 @@ if (platform == 'windows') {
let copied = false;
for (const screenpipeSrc of potentialPaths) {
+ if (process.env['SKIP_SCREENPIPE_SETUP']) {
+ copied = true;
+ break;
+ }
const screenpipeDest = path.join(cwd, 'screenpipe-x86_64-pc-windows-msvc.exe');
try {
await fs.copyFile(screenpipeSrc, screenpipeDest);