From 5d2715ca171d3167f9581fa0b4a8bb053cd88ecb Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 3 Nov 2022 10:58:00 +0100 Subject: [PATCH] remove kext glue dll from dependencies --- firewall/interception/interception_windows.go | 2 +- firewall/interception/windowskext/kext.go | 2 +- updates/helper/updates.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/firewall/interception/interception_windows.go b/firewall/interception/interception_windows.go index 151dc070..0441d3a6 100644 --- a/firewall/interception/interception_windows.go +++ b/firewall/interception/interception_windows.go @@ -15,7 +15,7 @@ func start(ch chan packet.Packet) error { return fmt.Errorf("interception: could not get kext sys: %s", err) } - err = windowskext.Init("", kextFile.Path()) + err = windowskext.Init(kextFile.Path()) if err != nil { return fmt.Errorf("interception: could not init windows kext: %s", err) } diff --git a/firewall/interception/windowskext/kext.go b/firewall/interception/windowskext/kext.go index 084ecded..ca8315e6 100644 --- a/firewall/interception/windowskext/kext.go +++ b/firewall/interception/windowskext/kext.go @@ -41,7 +41,7 @@ func init() { } // Init initializes the DLL and the Kext (Kernel Driver). -func Init(dllPath, path string) error { +func Init(path string) error { driverPath = path return nil } diff --git a/updates/helper/updates.go b/updates/helper/updates.go index 17fe6116..80193ee8 100644 --- a/updates/helper/updates.go +++ b/updates/helper/updates.go @@ -52,7 +52,6 @@ func MandatoryUpdates() (identifiers []string) { identifiers = append( identifiers, PlatformIdentifier("core/portmaster-core.exe"), - PlatformIdentifier("kext/portmaster-kext.dll"), PlatformIdentifier("kext/portmaster-kext.sys"), PlatformIdentifier("kext/portmaster-kext.pdb"), PlatformIdentifier("start/portmaster-start.exe"),