1.15.1
- added vcrun2015 integration for wuwa
This commit is contained in:
parent
0a5429a633
commit
cf97861f7a
2 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "anime-launcher-sdk"
|
||||
version = "1.15.0"
|
||||
version = "1.15.1"
|
||||
authors = ["Nikita Podvirnyi <krypt0nn@vk.com>"]
|
||||
license = "GPL-3.0"
|
||||
readme = "README.md"
|
||||
|
@ -9,7 +9,7 @@ edition = "2021"
|
|||
|
||||
[dependencies.anime-game-core]
|
||||
git = "https://github.com/an-anime-team/anime-game-core"
|
||||
tag = "1.20.0"
|
||||
tag = "1.20.1"
|
||||
features = ["all"]
|
||||
|
||||
# path = "../anime-game-core" # ! for dev purposes only
|
||||
|
@ -39,7 +39,7 @@ wuwa = ["anime-game-core/wuwa"]
|
|||
star-rail-patch = ["anime-game-core/patch-jadeite"]
|
||||
honkai-patch = ["anime-game-core/patch-jadeite"]
|
||||
pgr-patch = ["anime-game-core/patch-mfc140"]
|
||||
wuwa-patch = ["anime-game-core/patch-mfc140"]
|
||||
wuwa-patch = ["anime-game-core/patch-vcrun2015"]
|
||||
|
||||
# Common features
|
||||
states = []
|
||||
|
|
|
@ -14,6 +14,8 @@ pub enum LauncherState {
|
|||
|
||||
PrefixNotExists,
|
||||
|
||||
Vcrun2015NotInstalled,
|
||||
|
||||
TelemetryNotDisabled,
|
||||
|
||||
// Always contains `VersionDiff::Diff`
|
||||
|
@ -52,6 +54,11 @@ impl LauncherState {
|
|||
return Ok(Self::PrefixNotExists);
|
||||
}
|
||||
|
||||
// Check vcrun2015 installation
|
||||
if !vcrun2015::is_installed(¶ms.wine_prefix) {
|
||||
return Ok(Self::Vcrun2015NotInstalled);
|
||||
}
|
||||
|
||||
// Check telemetry servers
|
||||
let disabled = telemetry::is_disabled(params.game_edition)
|
||||
|
||||
|
|
Loading…
Reference in a new issue