feature/generador-instaladores-linux-windows

This commit is contained in:
2026-07-01 10:33:05 -06:00
parent 0d8d80d61d
commit 0c14f1166b
17 changed files with 802 additions and 90 deletions

View File

@@ -1,6 +1,7 @@
"""Tab de logs y soporte."""
import subprocess
import sys
from pathlib import Path
from PySide6.QtWidgets import (
@@ -91,10 +92,15 @@ class LogsTab(QWidget):
self.logs_text.setPlainText("\n".join(log_lines))
def _open_logs_folder(self):
"""Abre la carpeta de logs en el explorador."""
"""Abre la carpeta de logs en el explorador de archivos del sistema."""
try:
if LOGS_DIR.exists():
subprocess.run(["explorer", str(LOGS_DIR)])
if sys.platform == "win32":
subprocess.run(["explorer", str(LOGS_DIR)])
elif sys.platform == "darwin":
subprocess.run(["open", str(LOGS_DIR)])
else:
subprocess.run(["xdg-open", str(LOGS_DIR)])
else:
QMessageBox.warning(
self,