4 Commits

Author SHA1 Message Date
dependabot[bot]
a2432f57ef Bump steamlocate from 2.0.0-beta.2 to 2.0.1
Bumps [steamlocate](https://github.com/WilliamVenner/steamlocate-rs) from 2.0.0-beta.2 to 2.0.1.
- [Release notes](https://github.com/WilliamVenner/steamlocate-rs/releases)
- [Changelog](https://github.com/WilliamVenner/steamlocate-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WilliamVenner/steamlocate-rs/commits/2.0.1)

---
updated-dependencies:
- dependency-name: steamlocate
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 20:06:36 +00:00
d65a006bce reduce dep spam (#9) 2025-06-12 22:05:36 +02:00
baf90de24e Merge pull request #10 from mxve/iw4x_note 2025-06-12 22:01:07 +02:00
2bd2a28ac7 docs: update notes 2025-06-11 14:38:25 +02:00
4 changed files with 54 additions and 76 deletions

69
Cargo.lock generated
View File

@@ -304,27 +304,6 @@ dependencies = [
"crypto-common",
]
[[package]]
name = "dirs"
version = "5.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
dependencies = [
"dirs-sys",
]
[[package]]
name = "dirs-sys"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
dependencies = [
"libc",
"option-ext",
"redox_users",
"windows-sys 0.48.0",
]
[[package]]
name = "encode_unicode"
version = "0.3.6"
@@ -561,6 +540,15 @@ version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "home"
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "http"
version = "1.2.0"
@@ -808,16 +796,6 @@ version = "0.2.172"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]]
name = "libredox"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
dependencies = [
"bitflags 2.4.0",
"libc",
]
[[package]]
name = "linux-raw-sys"
version = "0.4.14"
@@ -1023,12 +1001,6 @@ dependencies = [
"vcpkg",
]
[[package]]
name = "option-ext"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
[[package]]
name = "ordered-float"
version = "2.10.1"
@@ -1228,17 +1200,6 @@ dependencies = [
"bitflags 2.4.0",
]
[[package]]
name = "redox_users"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [
"getrandom 0.2.10",
"libredox",
"thiserror",
]
[[package]]
name = "reqwest"
version = "0.12.20"
@@ -1600,12 +1561,12 @@ checksum = "954e3e877803def9dc46075bf4060147c55cd70db97873077232eae0269dc89b"
[[package]]
name = "steamlocate"
version = "2.0.0-beta.2"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3b6a4810c4e7fecb0123a9a8ba99b335c17d92e636c265ef99108ee4734c812"
checksum = "a13160bc6ea5cd80cde195ad4a4c629701db2bf397b62c139aa9e739016d2499"
dependencies = [
"crc",
"dirs",
"home",
"keyvalues-parser",
"keyvalues-serde",
"serde",
@@ -2437,12 +2398,12 @@ dependencies = [
[[package]]
name = "winreg"
version = "0.51.0"
version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "937f3df7948156640f46aacef17a70db0de5917bda9c92b0f751f3a955b588fc"
checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97"
dependencies = [
"cfg-if",
"windows-sys 0.48.0",
"windows-sys 0.59.0",
]
[[package]]

View File

@@ -11,37 +11,37 @@ panic = "abort"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
blake3 = "1.8.2"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
rand = "0.9.1"
semver = "1.0.25"
colored = "3.0.0"
once_cell = "1.21.3"
reqwest = { version = "0.12.20", features = ["stream"] }
futures-util = "0.3.31"
futures = "0.3.31"
indicatif = "0.17.11"
tokio = { version="1.45.1", features = ["rt-multi-thread", "macros"] }
simple-log = "2.3.0"
blake3 = "1.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.9"
semver = "1.0"
colored = "3.0"
once_cell = "1.21"
reqwest = { version = "0.12", features = ["stream"] }
futures-util = "0.3"
futures = "0.3"
indicatif = "0.17"
tokio = { version="1.45", features = ["rt-multi-thread", "macros"] }
simple-log = "2.3"
walkdir = "2.5"
[target.'cfg(unix)'.dependencies]
openssl = { version = "0.10.71", default-features = false, features = ["vendored"] }
openssl = { version = "0.10", default-features = false, features = ["vendored"] }
[target.'cfg(windows)'.dependencies]
# todo: update to 2.0.x; needs testing on windows
steamlocate = "=2.0.0-beta.2"
mslnk = "0.1.8"
self-replace = "1.5.0"
steamlocate = "=2.0.1"
mslnk = "0.1"
self-replace = "1.5"
[build-dependencies]
winresource = "0.1.19"
winresource = "0.1"
static_vcruntime = "2.0"
[dev-dependencies]
strip-ansi-escapes = "0.2.1"
serial_test = "3.2.0"
strip-ansi-escapes = "0.2"
serial_test = "3.2"
[package.metadata.winresource]
OriginalFilename = "alterware-launcher.exe"

View File

@@ -39,8 +39,7 @@
4. Run `alterware-launcher.exe`. After updating, the game will launch automatically.
> [!NOTE]
> Windows 7 is no longer supported. [v0.6.12](https://github.com/alterware/alterware-launcher/releases/tag/v0.6.12) is the last version that will run on Windows 7.
> To keep using it, set `"skip_self_update": true` in the `alterware-launcher.json` config file.
> Windows 7 is no longer supported.
> [!IMPORTANT]
> ### Information for server owners:

View File

@@ -622,6 +622,16 @@ fn arg_remove_value(args: &mut Vec<String>, arg: &str) {
};
}
fn show_iw4x_info() {
println!(
"{}",
"IW4x is not provided through AlterWare anymore.".bright_red()
);
println!("Please use iw4x-launcher.exe instead or visit www.iw4x.dev/install");
misc::stdin();
std::process::exit(0);
}
#[tokio::main]
async fn main() {
#[cfg(windows)]
@@ -648,6 +658,10 @@ async fn main() {
let mut args: Vec<String> = env::args().collect();
if args.iter().any(|arg| arg == "iw4x") {
show_iw4x_info();
}
if arg_bool(&args, "--help") {
println!("CLI Args:");
println!(" <client>: Specify the client to launch");
@@ -916,6 +930,10 @@ async fn main() {
}
}
if game == "iw4x" {
show_iw4x_info();
}
for g in games.iter() {
for c in g.client.iter() {
if c == &game {