File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ add_executable(${PROJECT_NAME} ${DIR} ${QM_FILES})
4343target_link_libraries (${PROJECT_NAME} MonitorInfo) #NetPlugins
4444
4545install (FILES "./resource/data/NetSpeed.json" DESTINATION "/usr/share/NetSpeed" )
46+ install (FILES "./resource/images/NetSpeed.svg" DESTINATION "/usr/share/NetSpeed" )
4647install (FILES "./resource/NetSpeed.desktop" DESTINATION "/usr/share/applications" )
4748file (GLOB TRANSLATIONS "${CMAKE_CURRENT_BINARY_DIR} /*.qm" ) # 要带上构建生成的路径
4849install (FILES ${TRANSLATIONS}
Original file line number Diff line number Diff line change 11[Desktop Entry]
22Encoding =UTF-8
33Exec =/usr/bin/NetSpeed/NetSpeed
4- Icon =/home/xmuli/project/github/ NetSpeed/resource/images /NetSpeed.svg
4+ Icon =/usr/share/ NetSpeed/NetSpeed.svg
55Name =NetSpeed
66Terminal =false
77Type =Application
You can’t perform that action at this time.
0 commit comments