Reorganize project structure

This commit is contained in:
Stone_Red
2026-06-19 00:56:46 +02:00
parent 6f58eefb66
commit 95d88f1a8d
84 changed files with 267 additions and 186 deletions
@@ -0,0 +1,24 @@
using RemSox.Kernel.Processes;
using RemSox.Kernel.Processing;
namespace RemSox.Kernel.UI.CLI.Commands;
public class StartGuiCommand : ICommand
{
public string Name => "start-gui";
public string Description => "Starts the Graphical User Interface (Desktop Process)";
public Task ExecuteAsync(string? arguments, Action<string> printLine)
{
printLine("Starting Desktop Process...");
if (ProcessManager.IsProcessRunning<DesktopProcess>())
{
printLine("Desktop Process is already running.");
return Task.CompletedTask;
}
_ = ProcessManager.SpawnProcess<DesktopProcess>();
return Task.CompletedTask;
}
}