Create & keep $HOME/.var/i2pd_qt/i2pd_qt.pid and $HOME/.var/i2pd_qt/i2pd_qt.tcp-lock-socket and check it on startup, and fail additional processes when this user's pid exists and active: check tcp-lock-socket, and fail with a dialog notice if connection is not refused & is locked by another process by the same user. If another app is active, highlight or select its main window, bring to top of display GUI shell windows stack.
Create & keep
$HOME/.var/i2pd_qt/i2pd_qt.pid
and$HOME/.var/i2pd_qt/i2pd_qt.tcp-lock-socket
and check it on startup, and fail additional processes when this user's pid exists and active: check tcp-lock-socket, and fail with a dialog notice if connection is not refused & is locked by another process by the same user. If another app is active, highlight or select its main window, bring to top of display GUI shell windows stack.On non-Unix, do something utterly similar.