-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_desktop.py
More file actions
42 lines (33 loc) · 1.22 KB
/
Copy pathrun_desktop.py
File metadata and controls
42 lines (33 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python3
"""
🚀 LAUNCHER - SoundGraph Desktop
==============================
Script simple para ejecutar la aplicación de escritorio
"""
import sys
import os
def main():
print("🎵 Iniciando SoundGraph Desktop...")
print("=" * 50)
try:
# Importar y ejecutar la aplicación
from soundgraph_desktop import SoundGraphDesktop
print("✅ Módulos cargados correctamente")
print("🏔️ Abriendo interfaz gráfica...")
# Crear y ejecutar aplicación
app = SoundGraphDesktop()
app.run()
except ImportError as e:
print(f"❌ Error importando módulos: {e}")
print("\n💡 Soluciones:")
print(" 1. Activar entorno virtual: source venv/bin/activate")
print(" 2. Instalar dependencias: pip install -r requirements.txt")
except Exception as e:
print(f"❌ Error ejecutando aplicación: {e}")
print("\n🔍 Verifica que:")
print(" • PyVista esté instalado correctamente")
print(" • Tu sistema tenga soporte para ventanas gráficas")
finally:
print("\n👋 ¡Gracias por usar SoundGraph!")
if __name__ == "__main__":
main()