theironrobin / siglo

GTK app to sync InfiniTime watch with PinePhone
Mozilla Public License 2.0
154 stars 21 forks source link

Fake daemon behavior #83

Closed kq98 closed 2 years ago

kq98 commented 3 years ago

A comment https://github.com/alexr4535/siglo/issues/80#issuecomment-912705825 about the current daemon issues presented an alternative implementation that piqued my interest. Here is my take on it. I'm hiding the window when the close button is pressed, and un-hide it when a second instance of siglo is started, which is then killed. I request background and autostart permissions using the Background portal and I also added a '--hidden' argument that is used by the autostart file.

This should be considered as a suggestion in case that we don't find a way to make the current implementation work in a Flatpak sandbox.

CoderThomasB commented 2 years ago

Is there any activity on this MR?