mirror of https://github.com/Tim-Paik/neutauri.git
update bundler exe resources
This commit is contained in:
parent
084fe40035
commit
b7408124e6
|
@ -1179,6 +1179,7 @@ dependencies = [
|
|||
"rcedit",
|
||||
"serde",
|
||||
"toml",
|
||||
"winres",
|
||||
"wry",
|
||||
]
|
||||
|
||||
|
|
|
@ -15,3 +15,12 @@ wry = {version = "0.15", features = ["devtools"]}
|
|||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
rcedit = {git = "https://github.com/Tim-Paik/rcedit-rs.git"}
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winres = "0.1"
|
||||
|
||||
[package.metadata.winres]
|
||||
FileDescription = "Neutauri Bundler"
|
||||
LegalCopyright = "@2022 Neutauri Developers"
|
||||
OriginalFilename = ""
|
||||
ProductName = "Neutauri"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#[cfg(windows)]
|
||||
extern crate winres;
|
||||
|
||||
#[cfg(windows)]
|
||||
fn main() {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
res.set_icon("../neutauri_runtime/wry.ico");
|
||||
res.compile().unwrap();
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn main() {}
|
|
@ -11,3 +11,11 @@ wry = "0.15"
|
|||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winres = "0.1"
|
||||
|
||||
[package.metadata.winres]
|
||||
FileDescription = ""
|
||||
FileVersion = ""
|
||||
LegalCopyright = ""
|
||||
OriginalFilename = ""
|
||||
ProductName = ""
|
||||
ProductVersion = ""
|
||||
|
|
Loading…
Reference in New Issue