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): handle --dev argument in pre_build.js (#3519)

Ethan29d120c07ba7
diff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.js
index 3d49bf47d..555f0e55b 100644
--- a/apps/screenpipe-app-tauri/scripts/pre_build.js
+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js
@@ -776,7 +776,7 @@ await copyBunBinary();
// --dev or --build
const action = process.argv?.[2]
-if (action?.includes('--build' || action.includes('--dev'))) {
+if (action?.includes('--build') || action?.includes('--dev')) {
process.chdir(path.join(cwd, '..'))
process.env['FFMPEG_DIR'] = exports.ffmpeg
if (platform === 'windows') {