Files
trainingstagebuch/backend/desktop-app
Torsten Schulz (local) b404c289bb
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s
feat: Implement Windows runner for Flutter desktop app
- Added runner.exe.manifest for DPI awareness and compatibility settings.
- Created utils.cpp and utils.h for console management and command line argument handling.
- Developed win32_window.cpp and win32_window.h for high DPI-aware window management.
- Established basic window creation, message handling, and theme updating.
- Added documentation for Flutter desktop app implementation plan and MVP specifications.
2026-07-30 10:01:54 +02:00
..

TT-Tagebuch Desktop

Eigenständige Flutter-/Dart-Desktop-App für Windows, macOS und Linux. Sie ist keine WebView: Die Oberfläche wird vollständig mit Flutter gebaut und nutzt die bestehende TT-Tagebuch-API.

Voraussetzungen

  • Flutter stable
  • Linux: CMake, Ninja, GTK-3-Entwicklungsbibliotheken und ein C++-Compiler
  • Windows: Visual Studio mit dem Workload „Desktop development with C++“
  • macOS: Xcode

Starten

flutter pub get
flutter run -d linux

Für die lokale API wird standardmäßig http://localhost:3005/api verwendet. Eine abweichende Umgebung wird ausschließlich beim Build gesetzt:

flutter run -d linux \
  --dart-define=APP_ENV=staging \
  --dart-define=API_BASE_URL=https://staging.tt-tagebuch.de/api

Qualität

dart format --output=none --set-exit-if-changed .
flutter analyze
flutter test

Zugangsdaten und JWTs gehören nie in Logs, Quellcode oder Build-Konfiguration.