Skip to content

Commit

Permalink
add icon to exe
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonoughe committed May 16, 2020
1 parent ad9b183 commit 4d268fe
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ readme = "README.md"
keywords = ["stream-deck", "sound-blaster"]
license = "MIT/Apache-2.0"
edition = "2018"
build = "build.rs"

[badges]
travis-ci = { repository = "mdonoughe/sbzdeck" }
Expand All @@ -23,3 +24,6 @@ serde_json = "1"
slog = { version = "2", features = ["max_level_trace", "release_max_level_info"] }
streamdeck-rs = "0.5"
tokio = { version = "0.2", features = ["macros", "rt-core", "stream", "time"] }

[build-dependencies]
winres = "0.1"
5 changes: 5 additions & 0 deletions plugin/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("categoryIcon.ico");
res.compile().unwrap();
}
Binary file added plugin/categoryIcon.ico
Binary file not shown.

0 comments on commit 4d268fe

Please sign in to comment.