From 3ee9c365d2740fbb9118f4460aecdb91a1e287c8 Mon Sep 17 00:00:00 2001 From: stonebig Date: Sun, 27 Apr 2025 08:23:47 +0200 Subject: [PATCH] a bug at rc shall fix https://github.com/winpython/winpython/issues/1576 (for this rc at least) --- winpython/associate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winpython/associate.py b/winpython/associate.py index 2bc2d1d1..5d5854ff 100644 --- a/winpython/associate.py +++ b/winpython/associate.py @@ -92,10 +92,10 @@ def register_in_registery(target, current=True, reg_type=winreg.REG_SZ, verbose= python_exe = str(target_path / "python.exe") pythonw_exe = str(target_path / "pythonw.exe") spyder_exe = str(target_path.parent / "Spyder.exe") - icon_py = str(target / "DLLs" / "py.ico") - icon_pyc = str(target / "DLLs" / "pyc.ico") - idle_path = str(target / "Lib" / "idlelib" / "idle.pyw") - doc_path = str(target / "Doc" / "html" / "index.html") + icon_py = str(target_path / "DLLs" / "py.ico") + icon_pyc = str(target_path / "DLLs" / "pyc.ico") + idle_path = str(target_path / "Lib" / "idlelib" / "idle.pyw") + doc_path = str(target_path / "Doc" / "html" / "index.html") python_infos = utils.get_python_infos(target) # ('3.11', 64) short_version = python_infos[0] # e.g., '3.11' version = utils.get_python_long_version(target) # e.g., '3.11.5'