Add native Linux controls and tray menu for BTD 700

This commit is contained in:
Justin
2026-09-05 20:43:35 +02:00
commit 3579667c6e
25 changed files with 2047 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env python3
"""Install a launcher for this checkout, without root or system packages."""
from pathlib import Path
import os
from btd700.integration import APP_ID, desktop_entry
base = Path(os.environ.get('XDG_DATA_HOME', Path.home() / '.local/share'))
applications = base / 'applications'
applications.mkdir(parents=True, exist_ok=True)
destination = applications / f'{APP_ID}.desktop'
destination.write_text(desktop_entry())
print(f'Installiert: {destination}')
print('Im Anwendungsmenü „BTD 700 Control“ öffnen. Der Projektordner muss erhalten bleiben.')