app-admin/1password: remove desktop entry file and args
Use `make_desktop_entry` to avoid an extra file. Remove the arguments to chrome to make sure that copying continues to work on wayland.
This commit is contained in:
parent
65ed9ad429
commit
ba7a1bfd15
2 changed files with 1 additions and 11 deletions
|
@ -52,7 +52,7 @@ EOF" >"${D}/usr/share/polkit-1/actions/com.1password.1Password.policy"
|
||||||
dosym /opt/1Password/1password /usr/bin/1password
|
dosym /opt/1Password/1password /usr/bin/1password
|
||||||
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
|
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
|
||||||
|
|
||||||
domenu "${FILESDIR}/1password.desktop"
|
make_desktop_entry "${PN}" "1Password" "${PN}" "Office;Utility;"
|
||||||
newicon "${D}/opt/1Password/resources/icons/hicolor/512x512/apps/1password.png" "${PN}.png"
|
newicon "${D}/opt/1Password/resources/icons/hicolor/512x512/apps/1password.png" "${PN}.png"
|
||||||
|
|
||||||
dodoc "${D}/opt/1Password/resources/custom_allowed_browsers"
|
dodoc "${D}/opt/1Password/resources/custom_allowed_browsers"
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=1Password
|
|
||||||
Exec=/usr/bin/1password --enable-features=UseOzonePlatform --ozone-platform-hint=auto %U
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Icon=1password
|
|
||||||
StartupWMClass=1Password
|
|
||||||
Comment=Password manager and secure wallet
|
|
||||||
MimeType=x-scheme-handler/onepassword;
|
|
||||||
Categories=Office;
|
|
Loading…
Add table
Reference in a new issue