-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add icon to mining node (#3555)
Description --- Add icon to mining node. This PR is probably for windows only. How Has This Been Tested? --- Manually.
- Loading branch information
Showing
4 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use std::env; | ||
|
||
fn main() { | ||
println!("cargo:rerun-if-changed=icon.res"); | ||
let mut path = env::current_dir().unwrap(); | ||
path.push("icon.res"); | ||
println!("cargo:rustc-link-arg={}", path.into_os_string().into_string().unwrap()); | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mining_node ICON "icon.ico" |
Binary file not shown.