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:
Jared Allard 2024-02-11 20:18:56 -08:00
parent 65ed9ad429
commit ba7a1bfd15
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
2 changed files with 1 additions and 11 deletions

View file

@ -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"

View file

@ -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;