Fix Windows notifications
This commit is contained in:
@@ -70,7 +70,7 @@ func handleWindowsDNSCache() {
|
|||||||
|
|
||||||
func notifyDisableDNSCache() {
|
func notifyDisableDNSCache() {
|
||||||
(¬ifications.Notification{
|
(¬ifications.Notification{
|
||||||
ID: "windows-disable-dns-cache",
|
EventID: "interception:windows-disable-dns-cache",
|
||||||
Message: "The Portmaster needs the Windows Service \"DNS Client\" (dnscache) to be disabled for best effectiveness.",
|
Message: "The Portmaster needs the Windows Service \"DNS Client\" (dnscache) to be disabled for best effectiveness.",
|
||||||
Type: notifications.Warning,
|
Type: notifications.Warning,
|
||||||
}).Save()
|
}).Save()
|
||||||
@@ -78,7 +78,7 @@ func notifyDisableDNSCache() {
|
|||||||
|
|
||||||
func notifyRebootRequired() {
|
func notifyRebootRequired() {
|
||||||
(¬ifications.Notification{
|
(¬ifications.Notification{
|
||||||
ID: "windows-dnscache-reboot-required",
|
EventID: "interception:©windows-dnscache-reboot-required",
|
||||||
Message: "Please restart your system to complete Portmaster integration.",
|
Message: "Please restart your system to complete Portmaster integration.",
|
||||||
Type: notifications.Warning,
|
Type: notifications.Warning,
|
||||||
}).Save()
|
}).Save()
|
||||||
|
|||||||
Reference in New Issue
Block a user