Sync from development - prepare for v0.2.0

This commit is contained in:
Omni
2025-12-06 20:09:55 +00:00
parent fe14e4ecfb
commit ce969eba1b
277 changed files with 14059 additions and 3899 deletions

View File

@@ -304,11 +304,12 @@ class AboutDialog(QDialog):
def _get_engine_version(self) -> str:
"""Get jackify-engine version."""
try:
# Try to execute jackify-engine --version
# Try to execute jackify-engine --version
engine_path = Path(__file__).parent.parent.parent.parent / "engine" / "jackify-engine"
if engine_path.exists():
result = subprocess.run([str(engine_path), "--version"],
capture_output=True, text=True, timeout=5)
from jackify.backend.handlers.subprocess_utils import get_clean_subprocess_env
result = subprocess.run([str(engine_path), "--version"],
capture_output=True, text=True, timeout=5, env=get_clean_subprocess_env())
if result.returncode == 0:
version = result.stdout.strip()
# Extract just the version number (before the +commit hash)