mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
test
This commit is contained in:
parent
3665e07361
commit
3b1c71e671
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ namespace ShiftOS.Server
|
|||
/// <param name="args">The command-line arguments.</param>
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
AppDomain.CurrentDomain.UnhandledException += (o, a) =>
|
||||
{
|
||||
System.Diagnostics.Process.Start("ShiftOS.Server.exe");
|
||||
Environment.Exit(0);
|
||||
};
|
||||
System.Timers.Timer tmr = new System.Timers.Timer(5000);
|
||||
tmr.Elapsed += (o, a) =>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue