mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Add DesktopProcess and start-gui command for launching GUI mode
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using RemSox.Processing;
|
||||
using RemSox.Processes;
|
||||
using RemSox.UI.GUI.CLI;
|
||||
|
||||
namespace RemSox.UI.GUI.CLI.Commands;
|
||||
|
||||
public class StartGuiCommand : ICommand
|
||||
{
|
||||
public string Name => "start-gui";
|
||||
public string Description => "Starts the Graphical User Interface (Desktop Process)";
|
||||
|
||||
public void Execute(string? args)
|
||||
{
|
||||
Console.WriteLine("Starting Desktop Process...");
|
||||
ProcessManager.SpawnProcess<DesktopProcess>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user