Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
feat(linux): add dbus data
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed May 30, 2024
1 parent cd5a18f commit 65d1c38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/pam" DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/pam.d"
RENAME "genesis-shell")

install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/data/dbus/" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/dbus-1/system.d")

foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
install(FILES "${bundled_library}"
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
Expand Down
6 changes: 6 additions & 0 deletions linux/data/dbus/com.expidusos.shell.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<busconfig>
<policy user="genesis-shell">
<allow send_destination="org.freedesktop.login1"/>
<allow receive_sender="org.freedesktop.login1"/>
</policy>
</busconfig>

0 comments on commit 65d1c38

Please sign in to comment.