mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-05 02: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>
27 lines
2.3 KiB
NSIS
27 lines
2.3 KiB
NSIS
LangString wrongArch ${LANG_FRENCH} "Ce programme est pour Windows 64 bits seulement."
|
|
LangString installed ${LANG_FRENCH} "${SOFT_NAME} est déja installé. $\n$\nCliquer sur `OK` pour désinstaller l'ancienne version `Annuler` pour annuler cet upgrade."
|
|
LangString Elements ${LANG_FRENCH} "Eléments"
|
|
LangString Electric ${LANG_FRENCH} "Electrique"
|
|
LangString Logic ${LANG_FRENCH} "Logique"
|
|
LangString Hydraulic ${LANG_FRENCH} "Hydraulique"
|
|
LangString Pneumatic ${LANG_FRENCH} "Pneumatique"
|
|
LangString Energy ${LANG_FRENCH} "Energie"
|
|
LangString water ${LANG_FRENCH} "Eaux"
|
|
LangString Refrigeration ${LANG_FRENCH} "Climatisation"
|
|
LangString Solar_thermal ${LANG_FRENCH} "Thermique & solaire"
|
|
LangString Lang ${LANG_FRENCH} "Langues"
|
|
LangString Fonts ${LANG_FRENCH} "Polices"
|
|
LangString Titleblocks ${LANG_FRENCH} "Cartouches"
|
|
LangString Examples ${LANG_FRENCH} "Exemples"
|
|
LangString Check ${LANG_FRENCH} "Cocher pour lancer ${SOFT_NAME}"
|
|
LangString var1 ${LANG_FRENCH} "Eléments de la collection officielle"
|
|
LangString var2 ${LANG_FRENCH} "Fichiers de langues"
|
|
LangString var3 ${LANG_FRENCH} "Exemples de cartouches"
|
|
LangString var4 ${LANG_FRENCH} "Exemples de schémas"
|
|
LangString var5 ${LANG_FRENCH} "Polices"
|
|
LangString Mcp ${LANG_FRENCH} "Assistant IA (MCP)"
|
|
LangString var6 ${LANG_FRENCH} "Permet à un assistant IA d'ouvrir, vérifier et modifier vos schémas. Nécessite Python : le vôtre, ou celui proposé ci-dessous"
|
|
LangString McpPython ${LANG_FRENCH} "Python pour l'assistant IA"
|
|
LangString var7 ${LANG_FRENCH} "Python de python.org, utilisé uniquement par le composant Assistant IA. Inutile si Python est déjà installé (environ 12 Mo)"
|
|
LangString uninstFailed ${LANG_FRENCH} "La désinstallation de la version précédente a échoué.$\nVeuillez désinstaller ${SOFT_NAME} manuellement avant de continuer."
|