aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorEnan Ajmain <3nan.ajmain@gmail.com>2022-10-13 18:48:12 +0600
committerGitHub <noreply@github.com>2022-10-13 05:48:12 -0700
commit730228f6db1f858795ea83ba2179c875dca37bc7 (patch)
treeb18acb4cf052a385c4317a4f73976e4d48eb7a13 /runtime
parent06dfedc87ab4cc575a503195a1358b2984e248c4 (diff)
downloadrneovim-730228f6db1f858795ea83ba2179c875dca37bc7.tar.gz
rneovim-730228f6db1f858795ea83ba2179c875dca37bc7.tar.bz2
rneovim-730228f6db1f858795ea83ba2179c875dca37bc7.zip
feat(windows): show icon in terminal titlebar, taskbar #20607
closes #20071
Diffstat (limited to 'runtime')
-rw-r--r--runtime/CMakeLists.txt12
-rw-r--r--runtime/neovim.icobin0 -> 122355 bytes
2 files changed, 8 insertions, 4 deletions
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
--- /dev/null
+++ b/runtime/neovim.ico
Binary files differ