diff --git a/service/integration/integration_windows.go b/service/integration/integration_windows.go index 786d6da63..80b1fd74c 100644 --- a/service/integration/integration_windows.go +++ b/service/integration/integration_windows.go @@ -18,7 +18,7 @@ type OSSpecific struct { // Initialize loads the dll and finds all the needed functions from it. func (i *OSIntegration) Initialize() error { // Find path to the dll. - file, err := updates.GetFile("portmaster-core.dll") + file, err := updates.GetPlatformFile("dll/portmaster-core.dll") if err != nil { return err } diff --git a/service/updates/helper/updates.go b/service/updates/helper/updates.go index efae917d0..59001c1c9 100644 --- a/service/updates/helper/updates.go +++ b/service/updates/helper/updates.go @@ -52,6 +52,7 @@ func MandatoryUpdates() (identifiers []string) { identifiers = append( identifiers, PlatformIdentifier("core/portmaster-core.exe"), + PlatformIdentifier("dll/portmaster-core.dll"), PlatformIdentifier("kext/portmaster-kext.sys"), PlatformIdentifier("kext/portmaster-kext.pdb"), PlatformIdentifier("start/portmaster-start.exe"),