Skip to content

Commit

Permalink
feat: partial widows icon
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Aug 20, 2020
1 parent 6fc1681 commit 777f628
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
42 changes: 41 additions & 1 deletion Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ajour"
description = "A World of Warcraft addon manager"
version = "0.1.0-beta2"
version = "0.1.0-beta3"
authors = ["Casper Rogild Storm"]
license = "MIT"
homepage = "https://github.com/casperstorm/ajour"
Expand All @@ -20,3 +20,6 @@ serde_json = "1.0.57"
isahc = { version = "0.9.6", features = ["json"] }
zip = "0.5.6"
percent-encoding = "2.1.0"

[build-dependencies]
embed-resource = "1.3.3"
6 changes: 6 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extern crate embed_resource;

fn main() {
#[cfg(windows)]
embed_resource::compile("resources/windows/res.rc");
}
3 changes: 3 additions & 0 deletions resources/windows/res.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#define IDI_ICON 0x101

IDI_ICON ICON "ajour.ico"

0 comments on commit 777f628

Please sign in to comment.