From 730228f6db1f858795ea83ba2179c875dca37bc7 Mon Sep 17 00:00:00 2001 From: Enan Ajmain <3nan.ajmain@gmail.com> Date: Thu, 13 Oct 2022 18:48:12 +0600 Subject: feat(windows): show icon in terminal titlebar, taskbar #20607 closes #20071 --- runtime/CMakeLists.txt | 12 ++++++++---- runtime/neovim.ico | Bin 0 -> 122355 bytes 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 runtime/neovim.ico (limited to 'runtime') diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 6b926e9fc1..9aa0c5eac0 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -110,12 +110,16 @@ if(NOT APPLE) install_helper( FILES ${CMAKE_CURRENT_SOURCE_DIR}/nvim.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications) - - install_helper( - FILES ${CMAKE_CURRENT_SOURCE_DIR}/nvim.png - DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps) endif() +install_helper( + FILES ${CMAKE_CURRENT_SOURCE_DIR}/nvim.png + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps) + +install_helper( + FILES ${CMAKE_CURRENT_SOURCE_DIR}/neovim.ico + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nvim/runtime) + globrecurse_wrapper(RUNTIME_PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR} *.awk *.sh *.bat) foreach(PROG ${RUNTIME_PROGRAMS}) diff --git a/runtime/neovim.ico b/runtime/neovim.ico new file mode 100644 index 0000000000..e0c151c966 Binary files /dev/null and b/runtime/neovim.ico differ -- cgit