Make install directory mandatory when uninstalling

pull/33/head
Pat Hartl 2023-11-16 12:06:18 -06:00
parent f7fa7aa9f3
commit 986fb87db1
1 changed files with 2 additions and 2 deletions

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