From 9167461eb35687872a7670b2e7105a56244f7a48 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 1 Aug 2020 01:11:24 +0000 Subject: Fix crates.io publishing restrictions This works around the problem that crates pushed to crates.io cannot reference files outside of their crate directory. --- alacritty/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src/window.rs') diff --git a/alacritty/src/window.rs b/alacritty/src/window.rs index 6659a9e0..172d5acc 100644 --- a/alacritty/src/window.rs +++ b/alacritty/src/window.rs @@ -42,7 +42,7 @@ use crate::gl; // It's required to be in this directory due to the `windows.rc` file. #[cfg(not(any(target_os = "macos", windows)))] -static WINDOW_ICON: &[u8] = include_bytes!("../../extra/windows/alacritty.ico"); +static WINDOW_ICON: &[u8] = include_bytes!("../alacritty.ico"); // This should match the definition of IDI_ICON from `windows.rc`. #[cfg(windows)] -- cgit