mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 11:21:45 -05:00
c81573594f
Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped us get it back.
23 lines
640 B
C#
23 lines
640 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ShiftOS.Main.Terminal.Commands
|
|
{
|
|
class shutdown:TerminalCommand
|
|
{
|
|
public override string Name { get; } = "shutdown";
|
|
public override string Summary { get; } = "Shuts down and saves ShiftOS.";
|
|
public override string Usage { get; } = "shutdown";
|
|
public override bool Unlocked { get; set; } = true;
|
|
|
|
public override void Run(params string[] parameters)
|
|
{
|
|
Application.Exit();
|
|
}
|
|
}
|
|
}
|