v1.7.6: secondo tentativo fix avvio Windows pythonnet

Preload esplicito di pythonnet.load("netfx") in main.py PRIMA di
importare webview: il lazy-import del 'clr' fallisce sotto PyInstaller
perche' Python.Runtime.dll viene bundlata ma il loader netfx non sa
risolverla.

Aggiunti:
- main.py: bootstrap pythonnet con PYTHONNET_RUNTIME=netfx + load()
- build_windows.py: --clean rebuild, --collect-data pythonnet/clr_loader
  (per Python.Runtime.runtimeconfig.json e altri non-Python files),
  hidden-import clr_loader.netfx
This commit is contained in:
luzadev committed 2026-06-09 12:22:04 +02:00
1 parent 891562dc88
commit 2cc6c5e9c6
3 files changed
+35 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import os
import sys
from pathlib import Path
VERSION = "v1.7.5"
VERSION = "v1.7.6"
APP_NAME = "MusicTools"