Add application icon #174
14 changed files with 68 additions and 2 deletions
6
.gitattributes
vendored
Normal file
6
.gitattributes
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
* text=auto
|
||||
|
||||
*.xcf filter=lfs diff=lfs merge=lfs -text
|
||||
*.ico filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
23
Cargo.lock
generated
23
Cargo.lock
generated
|
@ -549,7 +549,7 @@ dependencies = [
|
|||
"directories",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"toml",
|
||||
"toml 0.8.13",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -918,6 +918,7 @@ dependencies = [
|
|||
"tracing-error",
|
||||
"tracing-subscriber",
|
||||
"usvg",
|
||||
"winres",
|
||||
"zip",
|
||||
]
|
||||
|
||||
|
@ -3407,7 +3408,7 @@ dependencies = [
|
|||
"cfg-expr",
|
||||
"heck 0.5.0",
|
||||
"pkg-config",
|
||||
"toml",
|
||||
"toml 0.8.13",
|
||||
"version-compare",
|
||||
]
|
||||
|
||||
|
@ -3614,6 +3615,15 @@ dependencies = [
|
|||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.5.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.8.13"
|
||||
|
@ -4396,6 +4406,15 @@ dependencies = [
|
|||
"windows-sys 0.48.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "winres"
|
||||
version = "0.1.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c"
|
||||
dependencies = [
|
||||
"toml 0.5.11",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wio"
|
||||
version = "0.2.2"
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
name = "dtmm"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Lucas Schwiderski <lucas@lschwiderski.de>"]
|
||||
description = "DTMM is a GUI application to install and manage mods for the game."
|
||||
documentation = "https://git.sclu1034.dev/bitsquid_dt/dtmt/wiki"
|
||||
repository = "https://git.sclu1034.dev/bitsquid_dt/dtmt"
|
||||
homepage = "https://git.sclu1034.dev/bitsquid_dt/dtmt"
|
||||
license-file = "LICENSE"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
@ -38,3 +44,6 @@ tracing-error = "0.2.0"
|
|||
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
|
||||
usvg = "0.25.0"
|
||||
zip = { workspace = true }
|
||||
|
||||
[build-dependencies]
|
||||
winres = "0.1.12"
|
||||
|
|
BIN
crates/dtmm/assets/DTMM_logo.xcf
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo.xcf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_256.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_256.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_48.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_48.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_64.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_64.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_border.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_border.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_faint_glow.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_faint_glow.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
crates/dtmm/assets/DTMM_logo_small.png
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/DTMM_logo_small.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -8,3 +8,4 @@ Keywords=Mod;
|
|||
StartupNotify=true
|
||||
Categories=Utility;
|
||||
MimeType=x-scheme-handler/nxm;
|
||||
Icon=dtmm
|
||||
|
|
BIN
crates/dtmm/assets/dtmm.ico
(Stored with Git LFS)
Normal file
BIN
crates/dtmm/assets/dtmm.ico
(Stored with Git LFS)
Normal file
Binary file not shown.
7
crates/dtmm/build.rs
Normal file
7
crates/dtmm/build.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
fn main() {
|
||||
if cfg!(target_os = "windows") {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
res.set_icon("assets/dtmm.ico");
|
||||
res.compile().unwrap();
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 130 B |
Loading…
Add table
Reference in a new issue