Skip to content

Commit

Permalink
Define identifier for portmaster-core.dll and make it mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Nov 28, 2024
1 parent df4106f commit ef0995b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion service/integration/integration_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions service/updates/helper/updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit ef0995b

Please sign in to comment.