mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -34,6 +34,7 @@ dependencies = [
|
|||||||
"serde_json",
|
"serde_json",
|
||||||
"sha1_smol",
|
"sha1_smol",
|
||||||
"simple-log",
|
"simple-log",
|
||||||
|
"static_vcruntime",
|
||||||
"steamlocate",
|
"steamlocate",
|
||||||
"tokio",
|
"tokio",
|
||||||
"winresource",
|
"winresource",
|
||||||
@@ -1501,6 +1502,12 @@ version = "0.9.8"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "static_vcruntime"
|
||||||
|
version = "2.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "954e3e877803def9dc46075bf4060147c55cd70db97873077232eae0269dc89b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "steamlocate"
|
name = "steamlocate"
|
||||||
version = "2.0.0-beta.2"
|
version = "2.0.0-beta.2"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ indicatif = "0.17.8"
|
|||||||
tokio = {version="1.38.0", features = ["rt-multi-thread", "macros"]}
|
tokio = {version="1.38.0", features = ["rt-multi-thread", "macros"]}
|
||||||
simple-log = "1.5.1"
|
simple-log = "1.5.1"
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
openssl = { version = "0.10.64", default-features = false, features = ["vendored"] }
|
openssl = { version = "0.10.64", default-features = false, features = ["vendored"] }
|
||||||
|
|
||||||
@@ -34,6 +33,7 @@ self-replace = "1.3.7"
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
winresource = "0.1.17"
|
winresource = "0.1.17"
|
||||||
|
static_vcruntime = "2.0"
|
||||||
|
|
||||||
[package.metadata.winresource]
|
[package.metadata.winresource]
|
||||||
OriginalFilename = "alterware-launcher.exe"
|
OriginalFilename = "alterware-launcher.exe"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
|
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
|
||||||
|
static_vcruntime::metabuild();
|
||||||
let mut res = winresource::WindowsResource::new();
|
let mut res = winresource::WindowsResource::new();
|
||||||
res.set_icon("res/icon.ico").set_language(0x0409);
|
res.set_icon("res/icon.ico").set_language(0x0409);
|
||||||
res.compile().unwrap();
|
res.compile().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user