Remove param check for uninstall.

This commit is contained in:
Jared Goodwin 2020-02-22 13:34:27 -08:00
parent 05a73820de
commit 0ca98374fa

View File

@ -200,13 +200,15 @@ namespace Remotely.Agent.Installer.Win.ViewModels
{
await Uninstall(null);
}
else
{
CheckParams();
}
if (CommandLineParser.CommandLineArgs.ContainsKey("quiet"))
{
App.Current.Shutdown();
}
CheckParams();
}
public InstallerSettings ReadInstallerSettings()
@ -336,11 +338,6 @@ namespace Remotely.Agent.Installer.Win.ViewModels
{
IsReadyState = false;
if (!CheckParams())
{
return;
}
if (await Installer.Uninstall())
{
IsServiceInstalled = false;