Skip to content

Commit

Permalink
fix: missing startup logo
Browse files Browse the repository at this point in the history
  • Loading branch information
XMuli committed Mar 24, 2021
1 parent 10f598c commit 886a388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ add_executable(${PROJECT_NAME} ${DIR} ${QM_FILES})
target_link_libraries(${PROJECT_NAME} MonitorInfo) #NetPlugins

install(FILES "./resource/data/NetSpeed.json" DESTINATION "/usr/share/NetSpeed")
install(FILES "./resource/images/NetSpeed.svg" DESTINATION "/usr/share/NetSpeed")
install(FILES "./resource/NetSpeed.desktop" DESTINATION "/usr/share/applications")
file(GLOB TRANSLATIONS "${CMAKE_CURRENT_BINARY_DIR}/*.qm") # 要带上构建生成的路径
install(FILES ${TRANSLATIONS}
Expand Down
2 changes: 1 addition & 1 deletion resource/NetSpeed.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/NetSpeed/NetSpeed
Icon=/home/xmuli/project/github/NetSpeed/resource/images/NetSpeed.svg
Icon=/usr/share/NetSpeed/NetSpeed.svg
Name=NetSpeed
Terminal=false
Type=Application
Expand Down

0 comments on commit 886a388

Please sign in to comment.