Add support for finding app icons on Linux (MVP)
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
_ "github.com/safing/portmaster/core/base"
|
||||
"github.com/safing/portmaster/profile/icons"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
@@ -52,7 +53,7 @@ func prep() error {
|
||||
if err := iconsDir.Ensure(); err != nil {
|
||||
return fmt.Errorf("failed to create/check icons directory: %w", err)
|
||||
}
|
||||
profileIconStoragePath = iconsDir.Path
|
||||
icons.ProfileIconStoragePath = iconsDir.Path
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user