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(audio): use STGM(0) for OpenPropertyStore on Windows, fix Linux bundle cleanup, bump to v2.2.125

Louis Beaumonta3e77cae9d65
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 91c667806..9e631df9a 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -734,6 +734,12 @@ jobs:
# Tell linuxdeploy to deploy GTK3 plugin dependencies (bundles libsecret etc.)
export DEPLOY_GTK_VERSION=3
+ # Clean stale bundle artifacts from cache — prevents old .deb/.AppImage
+ # files from accumulating and being uploaded alongside the current version
+ BUNDLE_DIR="src-tauri/target/${{ matrix.target }}/release/bundle"
+ echo "Cleaning stale bundle artifacts from ${BUNDLE_DIR}..."
+ rm -rf "${BUNDLE_DIR}" 2>/dev/null || true
+
bunx tauri build --verbose --target ${{ matrix.target }} --features official-build
# Fix ABI mismatch: the AppImage bundles libs from Ubuntu 24.04 but
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e410210ee..016b73e2c 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.124"
+version = "2.2.125"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-audio/src/core/device.rs b/crates/screenpipe-audio/src/core/device.rs
index 01a4b05b4..1ed2e1b63 100644
--- a/crates/screenpipe-audio/src/core/device.rs
+++ b/crates/screenpipe-audio/src/core/device.rs
@@ -612,6 +612,7 @@ mod windows_com_audio {
};
use windows::Win32::System::Com::{
CoCreateInstance, CoInitializeEx, CoTaskMemFree, CLSCTX_ALL, COINIT_MULTITHREADED,
+ STGM,
};
use windows::Win32::Devices::FunctionDiscovery::PKEY_Device_FriendlyName;
@@ -646,7 +647,7 @@ mod windows_com_audio {
// They differ — get the friendly name of the communications device
// STGM_READ = 0
- let store = comm.OpenPropertyStore(0)?;
+ let store = comm.OpenPropertyStore(STGM(0))?;
let prop = store.GetValue(&PKEY_Device_FriendlyName)?;
// windows-core 0.58 PROPVARIANT implements Display via BSTR conversion