Make install directory mandatory when uninstalling
This commit is contained in:
parent
f7fa7aa9f3
commit
986fb87db1
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ namespace LANCommander.PowerShell.Cmdlets
|
||||||
[OutputType(typeof(string))]
|
[OutputType(typeof(string))]
|
||||||
public class UninstallGameCmdlet : PSCmdlet
|
public class UninstallGameCmdlet : PSCmdlet
|
||||||
{
|
{
|
||||||
[Parameter(Mandatory = false)]
|
[Parameter(Mandatory = true)]
|
||||||
public string InstallDirectory { get; set; } = "C:\\Games";
|
public string InstallDirectory { get; set; }
|
||||||
|
|
||||||
protected override void ProcessRecord()
|
protected override void ProcessRecord()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue