Add app source and tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
alvocool
2026-10-11 10:15:30 +03:00
parent 7e246255c2
commit 38881d1fe1
135 changed files with 21057 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import 'package:flutter/cupertino.dart';
import '../../about/internal/application/ServerProfile.dart';
import '../../about/internal/application/ServiceConfig.dart';
import 'SystemdState.dart';
/// Step-by-step builder that generates a systemd `.service` unit, previews it,
/// then registers it (daemon-reload → enable → start → status).
class Systemd extends StatefulWidget {
final ServerProfile server;
/// Prefills the form and, once the unit registers, has its `serviceName`
/// updated so deploys and log views use the new unit.
final ServiceConfig? service;
const Systemd({super.key, required this.server, this.service});
@override
State<Systemd> createState() => SystemdState();
}