mediar-ai / screenpipe

Library to build personalized AI powered by what you've seen, said, or heard. Works with Ollama. Alternative to Rewind.ai. Open. Secure. You own your data. Rust.
https://screenpi.pe
MIT License
1.39k stars 107 forks source link

feat: run tauri app in background, single-instance #292

Closed joegoldin closed 1 week ago

joegoldin commented 1 week ago
louis030195 commented 1 week ago

@joegoldin hmm interesting - on macos its kinda weird behaviour, when i close then its hard to reopen the app, clicking on the icon in the bottom bar does nothing, and it seems if i double click the tray menu it shows again, it that similar on windows? or maybe share screen?

https://github.com/user-attachments/assets/596e07cc-1090-48de-81a0-6fc42555fc3a

on macos this is what id expect:

image

a button "open screenpipe" here in tray menu

and when i click bottom bar its showing again the window

similar UX stuff that would be interesting to experiment:

joegoldin commented 1 week ago

yeah, I'm digging into why the dock icon isn't opening the window again on mac... I've tried re-showing as well as creating a new window -- wondering if it's a bug with Tauri 2.0rc... I'll keep messing with it.

I've added the "Open Screenpipe" menu option without issue, it's just the dock icon that's not playing nice.