UI: FortManager: Service must be installed after driver (re)installation

This commit is contained in:
Nodir Temirkhodjaev 2024-06-06 12:31:15 +03:00
parent c1c7688b91
commit cf70b988f1
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ bool FortManager::installDriver()
IoC<DriverManager>()->reinstallDriver();
if (hasService) {
StartupUtil::startService();
StartupUtil::setServiceInstalled();
} else {
// Re-open the driver device and initialize it
if (setupDriver()) {

View File

@ -13,7 +13,7 @@ public:
static const wchar_t *serviceName();
static bool isServiceInstalled();
static void setServiceInstalled(bool install);
static void setServiceInstalled(bool install = true);
static bool isServiceRunning();