mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-22 21:44:19 +02:00
bug(uad-list): json parsing error
- fmt check fix
This commit is contained in:
parent
1c85948049
commit
fa5240f70d
1 changed files with 8 additions and 2 deletions
|
|
@ -150,11 +150,17 @@ pub async fn download_update_to_temp_file(
|
|||
}
|
||||
|
||||
if let Err(e) = rename(¤t_bin_path, &tmp_path) {
|
||||
error!("[SelfUpdate] Couldn't rename from current to temporary binary path: {}", e);
|
||||
error!(
|
||||
"[SelfUpdate] Couldn't rename from current to temporary binary path: {}",
|
||||
e
|
||||
);
|
||||
return Err(());
|
||||
}
|
||||
if let Err(e) = rename(&download_path, ¤t_bin_path) {
|
||||
error!("[SelfUpdate] Couldn't rename from downloaded to current binary path: {}", e);
|
||||
error!(
|
||||
"[SelfUpdate] Couldn't rename from downloaded to current binary path: {}",
|
||||
e
|
||||
);
|
||||
return Err(());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue