mirror of
https://github.com/safing/portmaster
synced 2025-05-05 13:42:07 +00:00
Define identifier for portmaster-core.dll and make it mandatory
This commit is contained in:
parent
df4106fd70
commit
ef0995b1f7
2 changed files with 2 additions and 1 deletions
service
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Add table
Reference in a new issue