This commit is contained in:
2026-10-19 18:23:06 +02:00
parent 92d163b98c
commit f3b979fad9
+7
View File
@@ -519,6 +519,13 @@ def get_binary_versions():
import re
testo_pulito = re.sub(r'^[A-Za-z0-9_\-]+\s+version\s+', '', testo, flags=re.IGNORECASE)
# --- PULIZIA EXTRA PER DSTARGATEWAY ---
if "Copyright" in testo_pulito:
testo_pulito = testo_pulito.split("Copyright")[0].replace("DStarGateway", "").strip()
if testo_pulito.startswith("v"):
testo_pulito = testo_pulito[1:] # Toglie la 'v' iniziale per uniformità
# --------------------------------------
# Normalizza il nome
chiave = "DStarGateway" if "DStar" in nome else nome