Squad Voice Activation 3.2 - Ausgangsstand
Windows-Werkzeug, das die Sprechtaste in Squad haelt, solange man redet. - Hauptprogramm mit tkinter-Oberflaeche, Pegelanzeige und Diagnose - Auto-Updater gegen https://sva.tyrveil.com/version.json mit SHA-256-Pruefung - Inno-Setup-Installer und Build-Skript werkzeuge/baue_release.py - Projektuebergabe mit den bekannten Fallstricken Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
commit
f986c3ad11
22 changed files with 3288 additions and 0 deletions
28
start.pyw
Normal file
28
start.pyw
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
Startet das Programm ohne Konsolenfenster.
|
||||
|
||||
Hintergrund: Die pythonw.exe innerhalb einer virtuellen Umgebung ist nur
|
||||
ein Weiterleiter, der intern die Konsolenfassung python.exe nachstartet -
|
||||
dabei erscheint ein Terminalfenster. Die echte pythonw.exe der
|
||||
Python-Installation hat dieses Verhalten nicht, kennt aber die Pakete der
|
||||
virtuellen Umgebung nicht.
|
||||
|
||||
Diese Datei wird deshalb mit der echten pythonw.exe gestartet und haengt
|
||||
die Pakete der virtuellen Umgebung selbst in den Suchpfad ein.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
ORDNER = Path(__file__).resolve().parent
|
||||
|
||||
for pfad in (ORDNER / ".venv" / "Lib" / "site-packages", ORDNER):
|
||||
if pfad.is_dir():
|
||||
eintrag = str(pfad)
|
||||
if eintrag in sys.path:
|
||||
sys.path.remove(eintrag)
|
||||
sys.path.insert(0, eintrag)
|
||||
|
||||
import squad_voice_activation # noqa: E402
|
||||
|
||||
squad_voice_activation.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue