mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-13 01:26:37 -04:00
Fix MacOS login items showing ambigious name (#11373)
This commit is contained in:
parent
7de453b838
commit
b68775e9d8
@ -130,6 +130,8 @@ void MacUtils::setLaunchAtStartup(bool enable)
|
||||
if (enable) {
|
||||
QSettings agent(getLaunchAgentFilename(), QSettings::NativeFormat);
|
||||
agent.setValue("Label", qApp->property("KPXC_QUALIFIED_APPNAME").toString());
|
||||
agent.setValue("AssociatedBundleIdentifiers", qApp->property("KPXC_QUALIFIED_APPNAME").toString());
|
||||
agent.setValue("Program", QApplication::applicationFilePath());
|
||||
agent.setValue("ProgramArguments", QStringList() << QApplication::applicationFilePath());
|
||||
agent.setValue("RunAtLoad", true);
|
||||
agent.setValue("StandardErrorPath", "/dev/null");
|
||||
|
Loading…
x
Reference in New Issue
Block a user