From 44e6b64be5de33a7f085714a729700250f8fec77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?0=25=20=5B=E2=96=88=20=E2=96=88=20=E2=96=88=20=E2=96=88=20?= =?UTF-8?q?=E2=96=88=20=E2=96=88=20=E2=96=88=20=E2=96=88=20=E2=96=88=20?= =?UTF-8?q?=E2=96=88=5D=20100=25?= Date: Tue, 2 Jun 2026 13:00:43 -0500 Subject: [PATCH] Conditional release auto reboot Added conditional release var and reboot code. --- DataDeath.slnx | 2 +- DataDeath/DataDeath.csproj | 2 +- DataDeath/Program.cs | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/DataDeath.slnx b/DataDeath.slnx index 99c8f29..93c61ee 100644 --- a/DataDeath.slnx +++ b/DataDeath.slnx @@ -3,7 +3,7 @@ - + diff --git a/DataDeath/DataDeath.csproj b/DataDeath/DataDeath.csproj index 3fd5b54..b2884e3 100644 --- a/DataDeath/DataDeath.csproj +++ b/DataDeath/DataDeath.csproj @@ -49,7 +49,7 @@ bin\x64\Release\ - TRACE + TRACE;RELEASE true pdbonly x64 diff --git a/DataDeath/Program.cs b/DataDeath/Program.cs index 02e163d..9a3afd5 100644 --- a/DataDeath/Program.cs +++ b/DataDeath/Program.cs @@ -121,8 +121,14 @@ namespace DataDeath } } - //Reboot(); +#if DEBUG + Console.WriteLine("Press Enter to exit..."); Console.ReadLine(); +#endif + +#if RELEASE + Reboot(); +#endif } public static void Reboot()