Make install directory mandatory when uninstalling
parent
f7fa7aa9f3
commit
986fb87db1
|
@ -14,8 +14,8 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
[OutputType(typeof(string))]
|
||||
public class UninstallGameCmdlet : PSCmdlet
|
||||
{
|
||||
[Parameter(Mandatory = false)]
|
||||
public string InstallDirectory { get; set; } = "C:\\Games";
|
||||
[Parameter(Mandatory = true)]
|
||||
public string InstallDirectory { get; set; }
|
||||
|
||||
protected override void ProcessRecord()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue