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

release-app fix last issue with screenpipe cloud

Louis Beaumonte48bbb251fc4
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index a600f9664..083206f4c 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -377,14 +377,30 @@ jobs:
- name: Copy library for MKL
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
- shell: powershell
+ shell: pwsh
run: |
- mkdir omp
- python -m pip install intel-openmp --target omp
- # Create mkl directory if it doesn't exist (ignore error if it does)
- mkdir screenpipe-app-tauri/src-tauri/mkl/ -ErrorAction SilentlyContinue
- ls -Path ./omp -Recurse -Filter *.dll | cp -Destination screenpipe-app-tauri/src-tauri/mkl/
+ # Ensure target directory exists
+ $mkl_dir = "screenpipe-app-tauri/src-tauri/mkl"
+ mkdir -Force $mkl_dir
+
+ # Copy from temp directory if it exists, otherwise try pip install
+ $temp_mkl = "C:/temp_mkl_setup"
+ if (Test-Path "$temp_mkl/*.dll") {
+ println!("found existing dlls in temp dir, copying...")
+ Get-ChildItem -Path $temp_mkl -Recurse -Filter *.dll | Copy-Item -Destination $mkl_dir -Force
+ } else {
+ println!("no existing dlls found, trying pip install...")
+ mkdir omp
+ python -m pip install intel-openmp --target omp
+ Get-ChildItem -Path ./omp -Recurse -Filter *.dll | Copy-Item -Destination $mkl_dir -Force
+ }
+ # Verify DLLs were copied
+ $dll_count = (Get-ChildItem -Path $mkl_dir -Filter *.dll).Count
+ println!("found {dll_count} dlls in target directory")
+ if ($dll_count -eq 0) {
+ throw "No DLLs found in target directory!"
+ }
- name: Build
uses: tauri-apps/[email protected]
env:
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index d7ab145b0..8d92269ae 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.16.6"
+version = "0.16.8"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/sidecar.rs b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
index 4c7e41984..ef3f13999 100644
--- a/screenpipe-app-tauri/src-tauri/src/sidecar.rs
+++ b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
@@ -241,7 +241,11 @@ fn spawn_sidecar(app: &tauri::AppHandle) -> Result<CommandChild, String> {
if audio_transcription_engine != "default" {
args.push("--audio-transcription-engine");
- let model = audio_transcription_engine.as_str();
+ let model = if audio_transcription_engine == "screenpipe-cloud" {
+ "deepgram"
+ } else {
+ audio_transcription_engine.as_str()
+ };
args.push(model);
}