mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -05:00
Fix MacOS login items showing ambigious name (#11373)
This commit is contained in:
parent
4f8c204096
commit
f07db033c6
@ -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…
Reference in New Issue
Block a user