diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-08-01 01:11:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 01:11:24 +0000 |
commit | 9167461eb35687872a7670b2e7105a56244f7a48 (patch) | |
tree | c09af29ea37b9d1b16ace7b21b5aa5fac5188ae2 /alacritty/src/window.rs | |
parent | d192720f904795b1f71b32d24da7c8c470cf5301 (diff) | |
download | r-alacritty-9167461eb35687872a7670b2e7105a56244f7a48.tar.gz r-alacritty-9167461eb35687872a7670b2e7105a56244f7a48.tar.bz2 r-alacritty-9167461eb35687872a7670b2e7105a56244f7a48.zip |
Fix crates.io publishing restrictions
This works around the problem that crates pushed to crates.io cannot
reference files outside of their crate directory.
Diffstat (limited to 'alacritty/src/window.rs')
-rw-r--r-- | alacritty/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |