- updated core library
This commit is contained in:
Observer KRypt0n_ 2023-05-24 22:51:07 +02:00
parent af03ab65d4
commit 828fb17a31
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "anime-launcher-sdk"
version = "1.4.5"
version = "1.4.6"
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0"
readme = "README.md"
@ -8,7 +8,7 @@ edition = "2021"
[dependencies.anime-game-core]
git = "https://github.com/an-anime-team/anime-game-core"
tag = "1.10.3"
tag = "1.10.4"
features = ["all"]
# path = "../anime-game-core" # ! for dev purposes only

View file

@ -71,7 +71,7 @@ impl LauncherState {
// Check game patch status
(params.status_updater)(StateUpdating::Patch);
let patch = Patch::new(&params.patch_folder);
let patch = Patch::new(&params.patch_folder, params.game_edition);
// Sync local patch folder with remote if needed
// TODO: maybe I shouldn't do it here?
@ -84,7 +84,7 @@ impl LauncherState {
}
// Check the main patch
let main_patch = patch.main_patch(params.game_edition)?;
let main_patch = patch.main_patch()?;
if !main_patch.is_applied(&params.game_path)? {
return Ok(Self::MainPatchAvailable(main_patch));