File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,12 @@ include(GNUInstallDirs)
50
50
51
51
set (LIBEXECDIR ${CMAKE_INSTALL_FULL_LIBEXECDIR} )
52
52
configure_file (assets/hyprpolkitagent-service.in hyprpolkitagent.service @ONLY)
53
+ configure_file (assets/hyprpolkitagent-dbus.in hyprpolkitagent-dbus.service @ONLY)
53
54
54
- install (TARGETS hyprpolkitagent DESTINATION ${CMAKE_INSTALL_LIBEXECDIR} )
55
+ install (TARGETS hyprpolkitagent
56
+ DESTINATION ${CMAKE_INSTALL_LIBEXECDIR} )
55
57
install (FILES ${CMAKE_BINARY_DIR} /hyprpolkitagent.service
56
58
DESTINATION "lib/systemd/user" )
59
+ install (FILES ${CMAKE_BINARY_DIR} /hyprpolkitagent-dbus.service
60
+ DESTINATION ${CMAKE_INSTALL_DATADIR} /dbus-1/services
61
+ RENAME hyprpolkitagent.service)
Original file line number Diff line number Diff line change
1
+ [D-BUS Service]
2
+ Name=hyprpolkitagent
3
+ Exec=@LIBEXECDIR@/hyprpolkitagent
4
+ SystemdService=hyprpolkitagent.service
You can’t perform that action at this time.
0 commit comments