1.4.6
- updated core library
This commit is contained in:
parent
af03ab65d4
commit
828fb17a31
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anime-launcher-sdk"
|
name = "anime-launcher-sdk"
|
||||||
version = "1.4.5"
|
version = "1.4.6"
|
||||||
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -8,7 +8,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies.anime-game-core]
|
[dependencies.anime-game-core]
|
||||||
git = "https://github.com/an-anime-team/anime-game-core"
|
git = "https://github.com/an-anime-team/anime-game-core"
|
||||||
tag = "1.10.3"
|
tag = "1.10.4"
|
||||||
features = ["all"]
|
features = ["all"]
|
||||||
|
|
||||||
# path = "../anime-game-core" # ! for dev purposes only
|
# path = "../anime-game-core" # ! for dev purposes only
|
||||||
|
|
|
@ -71,7 +71,7 @@ impl LauncherState {
|
||||||
// Check game patch status
|
// Check game patch status
|
||||||
(params.status_updater)(StateUpdating::Patch);
|
(params.status_updater)(StateUpdating::Patch);
|
||||||
|
|
||||||
let patch = Patch::new(¶ms.patch_folder);
|
let patch = Patch::new(¶ms.patch_folder, params.game_edition);
|
||||||
|
|
||||||
// Sync local patch folder with remote if needed
|
// Sync local patch folder with remote if needed
|
||||||
// TODO: maybe I shouldn't do it here?
|
// TODO: maybe I shouldn't do it here?
|
||||||
|
@ -84,7 +84,7 @@ impl LauncherState {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the main patch
|
// Check the main patch
|
||||||
let main_patch = patch.main_patch(params.game_edition)?;
|
let main_patch = patch.main_patch()?;
|
||||||
|
|
||||||
if !main_patch.is_applied(¶ms.game_path)? {
|
if !main_patch.is_applied(¶ms.game_path)? {
|
||||||
return Ok(Self::MainPatchAvailable(main_patch));
|
return Ok(Self::MainPatchAvailable(main_patch));
|
||||||
|
|
Loading…
Reference in a new issue