Migrate to new configuration file-based DE portals declaration

Since xdg-desktop-portal 1.18 it replaces the `UseIn` key.
The obsolete key will be temporarily kept for compatibility reasons.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/6/head
Mavridis Philippe 2 months ago
parent ac09893b3c
commit 53725cd5c9
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -44,6 +44,8 @@ configure_file(xdg-desktop-portal-tde.desktop.cmake
install(FILES tde.portal DESTINATION ${XDG_PREFIX}/share/xdg-desktop-portal/portals)
install(FILES tde-portals.conf DESTINATION ${XDG_PREFIX}/share/xdg-desktop-portal)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.impl.portal.desktop.tde.service
DESTINATION ${DBUS_SESSION_DIRECTORY})

@ -0,0 +1,2 @@
[preferred]
default=tde;
Loading…
Cancel
Save