tool-tray 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl

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.
tool_tray/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.3.8"
1
+ __version__ = "0.3.9"
2
2
 
3
3
 
4
4
  def main() -> None:
tool_tray/tray.py CHANGED
@@ -372,12 +372,14 @@ def on_startup(icon: Any) -> None:
372
372
 
373
373
  def spawn_setup() -> None:
374
374
  """Spawn setup dialog as subprocess."""
375
+ import shutil
375
376
  import sys
376
377
 
377
378
  from tool_tray.logging import log_info
378
379
 
379
- # Use sys.executable to run with same Python interpreter
380
- cmd = [sys.executable, "-m", "tool_tray", "setup"]
380
+ # Use tooltray script (not -m) because tkinter needs proper Tcl/Tk paths
381
+ tooltray_bin = shutil.which("tooltray") or sys.argv[0]
382
+ cmd = [tooltray_bin, "setup"]
381
383
  log_info(f"Spawning setup subprocess: {cmd}")
382
384
  subprocess.Popen(cmd)
383
385
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: tool-tray
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: System tray tool manager for private GitHub tools via uv
5
5
  Author: Fredrik Averpil
6
6
  Author-email: Fredrik Averpil <fredrik.averpil@gmail.com>
@@ -1,4 +1,4 @@
1
- tool_tray/__init__.py,sha256=XLe-TtIKjOmZRxc0AE6p-B57-quCUuB9oPNZBGDwcZI,10337
1
+ tool_tray/__init__.py,sha256=Oa7FZM2ryK-C6WjTgfvw19l2HaTicQRnhUEEKQ04WlU,10337
2
2
  tool_tray/__main__.py,sha256=kPhKj3ISnfdEj_xNeV02OyVne5R22PDUJXBrFdCdw6c,66
3
3
  tool_tray/autostart.py,sha256=ukgQoqvuMOtn9_toaLwMkDbDbU9aOXaIglScGFseO7Q,7684
4
4
  tool_tray/config.py,sha256=sPD2BL4s9ONcOK0Gac-efkiFgHJvbHxD2-LK2nl5-uw,3154
@@ -7,9 +7,9 @@ tool_tray/logging.py,sha256=cXO4mxZsQ2sSdCC1HyMbszBOzDH17GFzVnh_bpsk6-c,1939
7
7
  tool_tray/manifest.py,sha256=lr13lcoaNsOi4E2_PCiomPN4-cQ05_bdNVuPyrONJeM,1915
8
8
  tool_tray/setup_dialog.py,sha256=1IOifQdrpGWuVd27P0XcMXBriCv9QkK_gMvnWfTKs5c,2301
9
9
  tool_tray/state.py,sha256=GEbXheWQeuw_IZGXBgccTxzP3jb_OEu-fh_o_4MrKQc,3079
10
- tool_tray/tray.py,sha256=RbXWfNbLpVqIhrVRDRr2RXimwsZ6f-CwpzxZnN7qpOM,11910
10
+ tool_tray/tray.py,sha256=M3N6n7wT55DwRA0k09OB-3tfNucJsrJiUiso-P_7Lv0,11982
11
11
  tool_tray/updater.py,sha256=4yA1nvV2UKKY4POk_lPegpeXUhXsWVCXRHr5V-2DAjs,4354
12
- tool_tray-0.3.8.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
13
- tool_tray-0.3.8.dist-info/entry_points.txt,sha256=8tdG3k77qXzGiU9GunLH2EkNwmiBg8dy2MnvMy5NaCA,45
14
- tool_tray-0.3.8.dist-info/METADATA,sha256=HpRnjUmUahSzHZZV5yPZRu-nJZwNqXxgr9g4kET6P8A,4382
15
- tool_tray-0.3.8.dist-info/RECORD,,
12
+ tool_tray-0.3.9.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
13
+ tool_tray-0.3.9.dist-info/entry_points.txt,sha256=8tdG3k77qXzGiU9GunLH2EkNwmiBg8dy2MnvMy5NaCA,45
14
+ tool_tray-0.3.9.dist-info/METADATA,sha256=PTVPucuxYHK7a-tAhVlvBzukgMtTUTU6XlGVgJVD2q4,4382
15
+ tool_tray-0.3.9.dist-info/RECORD,,