mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-24 22:06:18 +03:00
feat: removed 3.7.0 workaround
This commit is contained in:
parent
18b00516e8
commit
1018cb09b5
1 changed files with 1 additions and 8 deletions
|
@ -22,7 +22,7 @@ pub fn download_diff(sender: ComponentSender<App>, progress_bar_input: Sender<Pr
|
|||
diff = diff.with_temp_folder(temp);
|
||||
}
|
||||
|
||||
let result = diff.install_to(&game_path, clone!(@strong sender => move |state| {
|
||||
let result = diff.install_to(game_path, clone!(@strong sender => move |state| {
|
||||
match &state {
|
||||
DiffUpdate::InstallerUpdate(InstallerUpdate::DownloadingError(err)) => {
|
||||
tracing::error!("Downloading failed: {err}");
|
||||
|
@ -65,13 +65,6 @@ pub fn download_diff(sender: ComponentSender<App>, progress_bar_input: Sender<Pr
|
|||
perform_on_download_needed = false;
|
||||
}
|
||||
|
||||
// Temporary workaround for 3.7.0 game update
|
||||
let telemetry_file = game_path.join(config.launcher.edition.data_folder()).join("Plugins/Telemetry.dll");
|
||||
|
||||
if telemetry_file.exists() {
|
||||
std::fs::remove_file(telemetry_file).unwrap();
|
||||
}
|
||||
|
||||
sender.input(AppMsg::SetDownloading(false));
|
||||
sender.input(AppMsg::UpdateLauncherState {
|
||||
perform_on_download_needed,
|
||||
|
|
Loading…
Reference in a new issue