fix: critical bugs + .desktop file + system install

Bug fixes:
- Fixed PTY bridge: IO thread now uses pty_slave_ instead of pty_master_
  (remote output was never reaching the terminal)
- Fixed double-delete crash on tab close by removing page-removed callback
- Fixed port being ignored in password dialog (always used port 22)
- Added EINTR handling in select() for IO thread
- Added mutex for thread-safe cleanup
- Added try/catch for std::stoi in server config parsing
- VtePty lifecycle now managed properly (no double-close)
- Redundant ssh_channel_poll_timeout call removed

New:
- Added .desktop file for system-wide application menu entry
- Makefile.am installs desktop file to $(datadir)/applications
- Makefile.am installs icon to $(datadir)/icons/hicolor/256x256/apps
This commit is contained in:
x3
2026-09-07 15:00:08 +00:00
parent 77f9568cb1
commit 4a2b2eac33
7 changed files with 109 additions and 72 deletions
+11
View File
@@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=x3-ssh
GenericName=SSH Client
Comment=A GTK3 SSH client with tabbed terminal, server management and key storage
Exec=x3-ssh
Icon=x3-ssh
Terminal=false
Categories=Network;RemoteAccess;SSH;
Keywords=ssh;remote;terminal;shell;secure;
StartupNotify=true