From daef0a358c6d8f2a31d8624394c5c6e917dac2a3 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 10 Sep 2017 09:58:05 -0400 Subject: [PATCH] Snap fixes; enable yubikey; add cli command --- snap/gui/keepassxc.desktop | 13 ------------- snapcraft.yaml | 6 +++++- 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 snap/gui/keepassxc.desktop diff --git a/snap/gui/keepassxc.desktop b/snap/gui/keepassxc.desktop deleted file mode 100644 index bad5a8735..000000000 --- a/snap/gui/keepassxc.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=KeePassXC -GenericName=Community Password Manager -GenericName[de]=Passwortverwaltung -GenericName[es]=Gestor de contraseñas -GenericName[fr]=Gestionnaire de mot de passe -GenericName[ru]=менеджер паролей -Exec=keepassxc %f -Icon=${SNAP}/share/icons/hicolor/256x256/apps/keepassxc.png -Terminal=false -Type=Application -Categories=Qt;Utility; -MimeType=application/x-keepass2; diff --git a/snapcraft.yaml b/snapcraft.yaml index c05ad2aab..6aa500c63 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -11,7 +11,11 @@ confinement: strict apps: keepassxc: command: desktop-launch keepassxc - plugs: [unity7, x11, opengl, gsettings, home, network, network-bind, removable-media] + plugs: [unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb] + desktop: share/applications/keepassxc.desktop + cli: + command: keepassxc-cli + plugs: [gsettings, home, removable-media, raw-usb] parts: keepassxc: