This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -379,30 +379,18 @@ CONFIGURE_FILE (
379
379
"${PROJECT_BINARY_DIR} /config.h"
380
380
)
381
381
382
- # generate .desktop file
383
- CONFIGURE_FILE (
384
- "${PROJECT_SOURCE_DIR} /gnome-ring.desktop.in"
385
- "${PROJECT_BINARY_DIR} /gnome-ring.desktop"
386
- )
387
-
388
- # generate .desktop file for autostart
389
- CONFIGURE_FILE (
390
- "${PROJECT_SOURCE_DIR} /gnome-ring.desktop.autostart.in"
391
- "${PROJECT_BINARY_DIR} /gnome-ring.desktop.autostart"
392
- )
393
-
394
382
INSTALL (TARGETS gnome-ring
395
383
RUNTIME DESTINATION bin
396
384
)
397
385
398
386
# install .desktop in XDG desktop dir so that it is recognized by the system
399
- INSTALL (FILES ${PROJECT_BINARY_DIR } /gnome-ring.desktop
387
+ INSTALL (FILES ${PROJECT_SOURCE_DIR } /gnome-ring.desktop
400
388
DESTINATION ${CMAKE_INSTALL_PREFIX} /share/applications
401
389
)
402
390
403
391
# install .desktop in the gnome-ring data dir, so that it can be copied to the
404
392
# autostart dir by the client
405
- INSTALL (FILES ${PROJECT_BINARY_DIR } /gnome-ring.desktop.autostart
393
+ INSTALL (FILES ${PROJECT_SOURCE_DIR } /gnome-ring.desktop.autostart
406
394
DESTINATION
407
395
${CMAKE_INSTALL_PREFIX} /share/gnome-ring/
408
396
PERMISSIONS
Original file line number Diff line number Diff line change 2
2
Name =Ring
3
3
Comment =Ring is a secured and distributed communication software.
4
4
Exec =gnome-ring
5
- Icon =@RING_INSTALL_PREFIX@/share/icons/hicolor/scalable/apps/ ring.svg
5
+ Icon =ring
6
6
StartupNotify =true
7
7
Terminal =false
8
8
Type =Application
Original file line number Diff line number Diff line change 2
2
Name=Ring
3
3
Comment=Ring is a secured and distributed communication software.
4
4
Exec=gnome-ring --restore-last-window-state
5
- Icon=@RING_INSTALL_PREFIX@/share/icons/hicolor/scalable/apps/ ring.svg
5
+ Icon=ring
6
6
StartupNotify=true
7
7
Terminal=false
8
8
Type=Application
You can’t perform that action at this time.
0 commit comments