Skip to content

Commit

Permalink
whoops ive forgot to make it 0 seconds (was 15 for testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jevil7452 committed May 1, 2023
1 parent 6dfb38d commit aed16d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private void button1_Click(object sender, EventArgs e)
{
using (Process process = new Process())
{
var psi = new ProcessStartInfo("shutdown", "/s /t 15");
var psi = new ProcessStartInfo("shutdown", "/s /t 0");
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
Process.Start(psi);
Expand All @@ -48,7 +48,7 @@ private void timer1_Tick(object sender, EventArgs e)
if (seconds == 0)
{
timer1.Stop();
var psi = new ProcessStartInfo("shutdown", "/s /t 15");
var psi = new ProcessStartInfo("shutdown", "/s /t 0");
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
Process.Start(psi);
Expand Down

0 comments on commit aed16d7

Please sign in to comment.