mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-29 12:20:36 +00:00
31 lines
712 B
C#
31 lines
712 B
C#
using System;
|
|
using System.Threading;
|
|
using Cosmos.Build.Windows;
|
|
using Cosmos.Sys;
|
|
|
|
namespace EsxTest
|
|
{
|
|
class Program
|
|
{
|
|
#region Cosmos Builder logic
|
|
// Most users wont touch this. This will call the Cosmos Build tool
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
BuildUI.Run();
|
|
}
|
|
|
|
#endregion
|
|
|
|
// Main entry point of the kernel
|
|
public static void Init()
|
|
{
|
|
Cosmos.Sys.Boot.Default();
|
|
Console.WriteLine("Sleep 3000 ESX!");
|
|
Thread.Sleep(3000);
|
|
Console.WriteLine("Reboot");
|
|
Deboot.Reboot();
|
|
}
|
|
|
|
}
|
|
}
|