mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Move .desktop file
This commit is contained in:
parent
6203f23f06
commit
5d94db9c79
@ -12,7 +12,7 @@ mode = developer
|
||||
|
||||
|
||||
[qbittorrent.qbittorrentdesktop_master]
|
||||
source_file = src/icons/qBittorrent.desktop
|
||||
source_file = dist/unix/qbittorrent.desktop
|
||||
source_lang = en
|
||||
type = DESKTOP
|
||||
minimum_perc = 23
|
||||
|
2
dist/unix/CMakeLists.txt
vendored
2
dist/unix/CMakeLists.txt
vendored
@ -31,7 +31,7 @@ if (Qt5Widgets_FOUND)
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
|
||||
FILES_MATCHING PATTERN "*.png")
|
||||
|
||||
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop
|
||||
install(FILES qbittorrent.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
||||
COMPONENT data)
|
||||
|
||||
|
@ -36,7 +36,7 @@ nogui:systemd {
|
||||
|
||||
# Menu Icon
|
||||
!nogui {
|
||||
menuicon.files = icons/qbittorrent.desktop
|
||||
menuicon.files = dist/unix/qbittorrent.desktop
|
||||
menuicon.path = $$DATADIR/applications/
|
||||
INSTALLS += menuicon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user