diff --git a/assets/neovide.ico b/assets/neovide.ico new file mode 100644 index 0000000..d30d789 Binary files /dev/null and b/assets/neovide.ico differ diff --git a/assets/nvim.ico b/assets/nvim.ico deleted file mode 100644 index 9644da6..0000000 Binary files a/assets/nvim.ico and /dev/null differ diff --git a/build.rs b/build.rs index 81cf90b..97f5693 100644 --- a/build.rs +++ b/build.rs @@ -2,7 +2,7 @@ fn main() { #[cfg(windows)] { let mut res = winres::WindowsResource::new(); - res.set_icon("assets/nvim.ico"); + res.set_icon("assets/neovide.ico"); res.compile().expect("Could not attach exe icon"); } } diff --git a/src/window/window_wrapper/mod.rs b/src/window/window_wrapper/mod.rs index f24f0e1..c6093e2 100644 --- a/src/window/window_wrapper/mod.rs +++ b/src/window/window_wrapper/mod.rs @@ -211,7 +211,7 @@ pub fn start_loop( renderer: Renderer, ) { let icon = { - let icon_data = Asset::get("nvim.ico").expect("Failed to read icon data"); + let icon_data = Asset::get("neovide.ico").expect("Failed to read icon data"); let icon = load_from_memory(&icon_data).expect("Failed to parse icon data"); let (width, height) = icon.dimensions(); let mut rgba = Vec::with_capacity((width * height) as usize * 4);