cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
394 stars 46 forks source link

ensure single instance of Cinny #235

Closed camelCaseNick closed 11 months ago

camelCaseNick commented 11 months ago

Describe the problem

Since #166, Cinny desktop supports running in background, and displays a tray icon on systems that support this. However, that does not stop you from launching another instance.

Describe the solution you'd like

Usually, the expected behaviour here is that the new instance brings the already running one to foreground.

Alternatives considered

Using the task manager of my choice to kill Cinny? No, there is no viable alternative, especially on tray-less systems such as GNOME.

Additional context

For the inter process communication, there already is the single instance tauri plugin.

kfiven commented 11 months ago

Duplicate of #210