mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
feat(win32): embed executable icon
Problem: on windows, the neovim executable (and thus the filetypes associated to open with neovim) has no embedded icon Solution: create a windows resource file pointing to the icon, and add it to the nvim binary target
This commit is contained in:
4
runtime/windows_icon.rc
Normal file
4
runtime/windows_icon.rc
Normal file
@@ -0,0 +1,4 @@
|
||||
// NOTE: this resource file *must* be in the same folder as the icon.
|
||||
// Otherwise, absolute paths would need to be used.
|
||||
// see https://learn.microsoft.com/en-us/windows/win32/menurc/icon-resource
|
||||
NEOVIM_ICON ICON "neovim.ico"
|
Reference in New Issue
Block a user