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

Update pre_build.js (#708)

Jan Mechtela6f5bf2490b0
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index 111228314..8f37d4a6c 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -596,6 +596,8 @@ async function installOllamaSidecar() {
console.log('Downloading Ollama...');
if (platform === 'windows') {
await $`powershell -command "Invoke-WebRequest -Uri '${ollamaUrl}' -OutFile '${downloadPath}'"`;
+ } else if (platform === 'linux') {
+ await $`wget --no-config -q ${ollamaUrl} -O ${downloadPath}`;
} else {
await $`wget --no-config -q --show-progress ${ollamaUrl} -O ${downloadPath}`;
}