keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.39k stars 1.48k forks source link

Fix MacOS login items showing ambigious name #11373

Closed vallode closed 1 month ago

vallode commented 1 month ago

Fixes #8818.

Adding the AssociatedBundleIdentifiers plist property mentioned by user @nodeful fixes the issue of an ambigious (to most users) name appearing in their login items menu on MacOS.

Documentation relating to this property can be found here: https://developer.apple.com/documentation/servicemanagement/updating-helper-executables-from-earlier-versions-of-macos#Connect-services-to-app-names-in-System-Settings

Additionally we also add the Program property using the full path of the application bundle, this seems to further prevent the "organisation name" (from the certificate signing) from appearing in the login items screen. Without this extra change Janek Bevendorff's name would still appear after a delay

Screenshots

Before change:

image

After change:

image

Testing strategy

Manually editing the installed launchd.plist file org.keepassxc.KeePassXC.plist in ~/Library/LaunchAgents. I couldn't get the latest KeePassXC develop commit to build on my local machine.

Type of change

droidmonkey commented 1 month ago

Sweet!