Skip to content

Commit

Permalink
Fix icons?
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov committed Mar 23, 2022
1 parent 1a623fd commit f58a6fe
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
21 changes: 19 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion alacritty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ wayland-client = { version = "0.29.0", features = ["dlopen"], optional = true }
winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}

[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.3"
embed-resource = "1.7.1"

[features]
default = ["wayland", "x11"]
Expand Down
2 changes: 1 addition & 1 deletion alacritty/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
.unwrap();

#[cfg(windows)]
embed_resource::compile("./windows/windows.rc");
embed_resource::compile("./windows/alacritty-icon.rc");
}

fn commit_hash() -> Option<String> {
Expand Down
2 changes: 1 addition & 1 deletion alacritty/src/display/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ use crate::gl;
#[cfg(all(feature = "x11", not(any(target_os = "macos", windows))))]
static WINDOW_ICON: &[u8] = include_bytes!("../../alacritty.png");

/// This should match the definition of IDI_ICON from `windows.rc`.
/// This should match the definition of IDI_ICON from `alacritty-icon.rc`.
#[cfg(windows)]
const IDI_ICON: WORD = 0x101;

Expand Down
File renamed without changes.

0 comments on commit f58a6fe

Please sign in to comment.