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 build

Louis Beaumont35cb91f35cff
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 79151366f..757a9e0bd 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.9.6"
+version = "0.9.7"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index 339c384e0..d62a2ec20 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -1,16 +1,9 @@
-
-
use serde_json::Value;
use tauri::Manager;
use tracing::info;
#[cfg(target_os = "macos")]
-use core_foundation::{
- base::TCFType,
- boolean::CFBoolean,
- string::CFString,
-};
-
+use core_foundation::{base::TCFType, boolean::CFBoolean, string::CFString};
#[tauri::command]
pub fn open_screen_capture_preferences() {
@@ -226,6 +219,10 @@ pub fn check_accessibility_permissions() -> bool {
func(options.as_concrete_TypeRef() as *const _)
};
- trusted
+ return trusted;
}
-}
\ No newline at end of file
+ #[cfg(not(target_os = "macos"))]
+ {
+ return true;
+ }
+}