diff --git a/Cargo.toml b/Cargo.toml index 01ced31..4911905 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "0.5.16" +version = "0.5.17" authors = ["Nikita Podvirnyy "] 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.6.1" +tag = "1.6.2" features = ["genshin", "all"] # path = "../anime-game-core" # ! for dev purposes only diff --git a/src/states.rs b/src/states.rs index cf465cf..1806726 100644 --- a/src/states.rs +++ b/src/states.rs @@ -101,8 +101,8 @@ impl LauncherState { let old_audio_folder_base = data_folder.join("StreamingAssets/Audio"); let old_audio_folder = old_audio_folder_base.join("GeneratedSoundBanks/Windows"); - // Migrate pre-3.6 voiceovers format to post-3.6 if the base game is updated - if old_audio_folder.exists() && game.get_version()?.version == [3, 6, 0] { + // Migrate pre-3.6 voiceovers format to post-3.6 + if old_audio_folder.exists() { return Ok(Self::FolderMigrationRequired { from: old_audio_folder, to: data_folder.join("StreamingAssets/AudioAssets"), @@ -149,6 +149,7 @@ impl LauncherState { let patch = Patch::new(¶ms.patch_folder); // Sync local patch folder with remote if needed + // TODO: maybe I shouldn't do it here? if patch.is_sync(¶ms.patch_servers)?.is_none() { for server in ¶ms.patch_servers { if patch.sync(server).is_ok() {