mirror of
https://github.com/Tim-Paik/neutauri.git
synced 2024-10-12 23:29:41 +00:00
update bundler exe resources
This commit is contained in:
@ -14,4 +14,13 @@ toml = "0.5"
|
||||
wry = {version = "0.15", features = ["devtools"]}
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
rcedit = {git = "https://github.com/Tim-Paik/rcedit-rs.git"}
|
||||
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"
|
||||
|
12
neutauri_bundler/build.rs
Normal file
12
neutauri_bundler/build.rs
Normal file
@ -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() {}
|
Reference in New Issue
Block a user