mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-29 22:24:13 +02:00
6b9c5189b1
Most Windows users have no Python, which the MCP server needs. The installer now offers "Python for the AI assistant", unticked by default: the official embeddable package from python.org (3.14.7, ~12 MB, no registry, removed with QElectroTech), in <folder>\mcp\python. The portable folder and the MSI, which pack all of files/, carry it. The workflow downloads it pinned by version and by python.org's own sha256 for the file (checked against python.org's download API), and fails the build on a mismatch. The script stays plain text beside it. Checked under Wine (64-bit, qet-wine-smoke image), on an installer built with makensis 3.10 (0 warnings, strings in all 29 languages): - a silent default install puts mcp\qet_mcp.py in place and no Python; the same installer with the section ticked by default installs it, so the check tells the two apart; - the installed Python runs the installed server: 15 tools listed, qet_project_info on an example answers as on Linux, and the server finds bin\QElectroTech.exe and elements\ by itself. Not checked: a real Windows machine; the CI download step (fork run). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>