Skip to content

Commit

Permalink
wow thanks, how cool
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRTTV committed Mar 24, 2024
1 parent c3e3a4b commit d38df75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "nbtworkbench"
version = "1.2.4"
version = "1.2.5"
edition = "2021"
description = "A modern NBT Editor written in Rust designed for performance and efficiency."
license-file = "LICENSE"
repository = "https://github.com/RealRTTV/nbtworkbench"
keywords = ["nbt", "window", "unsafe", "editor", "tree"]
categories = ["graphics", "rendering", "text-editors", "parser-implementations"]

[lib]
crate-type = ["cdylib", "rlib"]
path = "src/main.rs"
# Required for Wasm target, but breaks `winres`
#[lib]
#crate-type = ["cdylib", "rlib"]
#path = "src/main.rs"

[package.metadata.winres]

Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ fn main() {

if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
if let Err(e) = winres::WindowsResource::new()
.set_icon_with_id(r"src/assets/build/icon_256.ico", "1")
.set_icon_with_id(r"src/assets/build/icon_128.ico", "2")
.set_icon_with_id(r"src/assets/build/icon_64.ico", "3")
.set_icon_with_id(r"src/assets/build/icon_48.ico", "4")
.set_icon_with_id(r"src/assets/build/icon_32.ico", "5")
.set_icon_with_id(r"src/assets/build/icon_16.ico", "6")
.set_icon_with_id(r"src/assets/build/icon_256.ico", "!")
.compile()
{
eprintln!("Error! {e}");
Expand Down

0 comments on commit d38df75

Please sign in to comment.