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: only install reminders pipe on macOS

Louis Beaumontb4adf26b6f66
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index 7d3d0744c..c617787fe 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -651,11 +651,14 @@ impl PipeManager {
/// Copy built-in pipe templates into pipes_dir if they don't exist.
pub fn install_builtin_pipes(&self) -> Result<()> {
- let builtins = vec![
+ let mut builtins = vec![
("obsidian-sync", include_str!("../../assets/pipes/obsidian-sync/pipe.md")),
- ("reminders", include_str!("../../assets/pipes/reminders/pipe.md")),
];
+ // reminders pipe uses Apple Reminders via osascript — macOS only
+ #[cfg(target_os = "macos")]
+ builtins.push(("reminders", include_str!("../../assets/pipes/reminders/pipe.md")));
+
for (name, content) in builtins {
let dir = self.pipes_dir.join(name);
let pipe_md = dir.join("pipe.md");