ixlab-sshui 1.2.2__tar.gz → 1.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/PKG-INFO +9 -1
  2. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/README.md +8 -0
  3. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/PKG-INFO +9 -1
  4. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/pyproject.toml +1 -1
  5. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/__init__.py +27 -0
  6. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/LICENSE +0 -0
  7. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/SOURCES.txt +0 -0
  8. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/dependency_links.txt +0 -0
  9. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/entry_points.txt +0 -0
  10. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/requires.txt +0 -0
  11. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/top_level.txt +0 -0
  12. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/setup.cfg +0 -0
  13. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/about_dialog.py +0 -0
  14. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/constants.py +0 -0
  15. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/host_panel.py +0 -0
  16. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/key_content_dialog.py +0 -0
  17. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/key_dialog.py +0 -0
  18. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/key_panel.py +0 -0
  19. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/main_window.py +0 -0
  20. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/option_dialog.py +0 -0
  21. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/sshui.svg +0 -0
  22. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/tag_dialog.py +0 -0
  23. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/terminal_window.py +0 -0
  24. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.4}/sshui/text_prompt_dialog.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixlab-sshui
3
- Version: 1.2.2
3
+ Version: 1.2.4
4
4
  Summary: PyQt6 UI for browsing and tagging SSH configs via sshcore.
5
5
  Author-email: Iacopo Palazzi <iacopo.palazzi@gmail.com>
6
6
  License: MIT
@@ -19,6 +19,14 @@ Dynamic: license-file
19
19
 
20
20
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
21
21
 
22
+ ## What's New in 1.2.4
23
+
24
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
25
+
26
+ ## What's New in 1.2.3
27
+
28
+ - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
29
+
22
30
  ## What's New in 1.2.2
23
31
 
24
32
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -2,6 +2,14 @@
2
2
 
3
3
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
4
4
 
5
+ ## What's New in 1.2.4
6
+
7
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
8
+
9
+ ## What's New in 1.2.3
10
+
11
+ - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
12
+
5
13
  ## What's New in 1.2.2
6
14
 
7
15
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixlab-sshui
3
- Version: 1.2.2
3
+ Version: 1.2.4
4
4
  Summary: PyQt6 UI for browsing and tagging SSH configs via sshcore.
5
5
  Author-email: Iacopo Palazzi <iacopo.palazzi@gmail.com>
6
6
  License: MIT
@@ -19,6 +19,14 @@ Dynamic: license-file
19
19
 
20
20
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
21
21
 
22
+ ## What's New in 1.2.4
23
+
24
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
25
+
26
+ ## What's New in 1.2.3
27
+
28
+ - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
29
+
22
30
  ## What's New in 1.2.2
23
31
 
24
32
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ixlab-sshui"
3
- version = "1.2.2"
3
+ version = "1.2.4"
4
4
  description = "PyQt6 UI for browsing and tagging SSH configs via sshcore."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -15,6 +15,31 @@ from .main_window import MainWindow
15
15
  __all__ = ["MainWindow", "main"]
16
16
 
17
17
 
18
+ def _set_macos_app_name(name: str) -> None:
19
+ """Set the macOS application name for an unbundled console-script app.
20
+
21
+ Two distinct identities default to the interpreter name (e.g. ``python3.14``)
22
+ and must be set separately, *before* ``QApplication`` initializes:
23
+
24
+ * ``CFBundleName`` drives the bold menu-bar entry.
25
+ * ``NSProcessInfo.processName`` drives the Dock tooltip.
26
+ """
27
+ if sys.platform != "darwin":
28
+ return
29
+ try:
30
+ from Foundation import NSBundle, NSProcessInfo
31
+
32
+ bundle = NSBundle.mainBundle()
33
+ if bundle is not None:
34
+ info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
35
+ if info is not None:
36
+ info["CFBundleName"] = name
37
+
38
+ NSProcessInfo.processInfo().setProcessName_(name)
39
+ except Exception as exc: # pragma: no cover - platform/runtime guard
40
+ print(f"[sshui] could not set macOS app name: {exc}", file=sys.stderr)
41
+
42
+
18
43
  def _patch_macos_app_menu(name: str) -> None:
19
44
  """Rename the macOS application menu (the 'Python' entry in the menu bar)."""
20
45
  try:
@@ -65,6 +90,8 @@ def _set_macos_dock_icon(icon: QIcon) -> None:
65
90
 
66
91
  def main() -> int:
67
92
  """Entry point used by the `sshui` console script."""
93
+ _set_macos_app_name(APP_NAME)
94
+
68
95
  app = QApplication(sys.argv)
69
96
  app.setApplicationName(APP_NAME)
70
97
  app.setApplicationDisplayName(APP_NAME)
File without changes
File without changes
File without changes