blob: 880af1e990b2ae6dfe0c1eca8459d3dbdf1b7241 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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();
}
}
}
|