mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:36:09 +00:00
UI: FortManager: Service must be installed after driver (re)installation
This commit is contained in:
parent
c1c7688b91
commit
cf70b988f1
@ -304,7 +304,7 @@ bool FortManager::installDriver()
|
|||||||
IoC<DriverManager>()->reinstallDriver();
|
IoC<DriverManager>()->reinstallDriver();
|
||||||
|
|
||||||
if (hasService) {
|
if (hasService) {
|
||||||
StartupUtil::startService();
|
StartupUtil::setServiceInstalled();
|
||||||
} else {
|
} else {
|
||||||
// Re-open the driver device and initialize it
|
// Re-open the driver device and initialize it
|
||||||
if (setupDriver()) {
|
if (setupDriver()) {
|
||||||
|
@ -13,7 +13,7 @@ public:
|
|||||||
static const wchar_t *serviceName();
|
static const wchar_t *serviceName();
|
||||||
|
|
||||||
static bool isServiceInstalled();
|
static bool isServiceInstalled();
|
||||||
static void setServiceInstalled(bool install);
|
static void setServiceInstalled(bool install = true);
|
||||||
|
|
||||||
static bool isServiceRunning();
|
static bool isServiceRunning();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user