mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-28 18:41:04 +00:00
Update ServiceMain.cs
This commit is contained in:
parent
a8ad7746ee
commit
e6fd3a800e
|
|
@ -49,7 +49,6 @@ namespace WelsonJS.Service
|
||||||
private string[] args;
|
private string[] args;
|
||||||
private bool disabledScreenTime = false;
|
private bool disabledScreenTime = false;
|
||||||
private bool disabledFileMonitor = false;
|
private bool disabledFileMonitor = false;
|
||||||
private bool disabledMessageReceiver = false;
|
|
||||||
private ScreenMatch screenMatcher;
|
private ScreenMatch screenMatcher;
|
||||||
private FileEventMonitor fileEventMonitor;
|
private FileEventMonitor fileEventMonitor;
|
||||||
private IniFile settingsFileHandler;
|
private IniFile settingsFileHandler;
|
||||||
|
|
@ -80,10 +79,6 @@ namespace WelsonJS.Service
|
||||||
scriptName = entry.Value;
|
scriptName = entry.Value;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "disable-message-receiver":
|
|
||||||
disabledMessageReceiver = true;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "disable-screen-time":
|
case "disable-screen-time":
|
||||||
disabledScreenTime = true;
|
disabledScreenTime = true;
|
||||||
break;
|
break;
|
||||||
|
|
@ -154,10 +149,6 @@ namespace WelsonJS.Service
|
||||||
disabledFileMonitor = true;
|
disabledFileMonitor = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "DISABLE_MESSAGE_RECEIVER":
|
|
||||||
disabledMessageReceiver = true;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user