mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-16 15:22:01 +03:00
fix: fixed mistake in the previous commit
I'm such a clown lol
This commit is contained in:
parent
a3aad7a2f4
commit
7d080fcdf4
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ impl SimpleAsyncComponent for GeneralApp {
|
|||
|
||||
let package = VoicePackage::with_locale(package.locale).unwrap();
|
||||
|
||||
if !package.is_installed_in(&config.game.path) {
|
||||
if package.is_installed_in(&config.game.path) {
|
||||
std::thread::spawn(move || {
|
||||
if let Err(err) = package.delete_in(&config.game.path) {
|
||||
tracing::error!("Failed to delete voice package: {:?}", package.locale());
|
||||
|
|
Loading…
Add table
Reference in a new issue