Make install directory mandatory when uninstalling

This commit is contained in:
Pat Hartl 2023-11-16 12:06:18 -06:00
parent f7fa7aa9f3
commit 986fb87db1

View file

@ -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()
{