diff --git a/ChangeLog b/ChangeLog index 12f25687..77bb5d65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,7 +23,9 @@ linkcheck/ftests/data/*.result * Added missing script_dir to the windows installer script. - Use python.exe instead of pythonw.exe to call linkcheck script. + Use python.exe instead of pythonw.exe and --interactive option to + call linkcheck script. + Add Documentation link to the programs group. Type: bugfix Changed: install-linkchecker.py diff --git a/install-linkchecker.py b/install-linkchecker.py index 4800829e..6a640f46 100644 --- a/install-linkchecker.py +++ b/install-linkchecker.py @@ -56,11 +56,12 @@ def do_install (): create_shortcut(python_exe, "Check URL", path, arguments) file_created(path) - #target = os.path.join(lib_dir, - # "PythonCard\\docs\\html\\index.html") - #path = os.path.join(dest_dir, "Documentation.lnk") - #create_shortcut(target, "Documentation", path) - #file_created(path) + data_dir = linkcheck.configdata.install_data + target = os.path.join(data_dir, + "share", "linkchecker", "doc", "documentation.html") + path = os.path.join(dest_dir, "Documentation.lnk") + create_shortcut(target, "Documentation", path) + file_created(path) target = os.path.join(sys.prefix, "RemoveLinkChecker.exe") path = os.path.join(dest_dir, "Uninstall LinkChecker.lnk")