theoretically i just added support for multiple installations in a row
This commit is contained in:
parent
69d932f6c8
commit
bbf50fbf37
2 changed files with 8 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ public partial class MainWindow : Window
|
|||
{
|
||||
private string? _apkPath;
|
||||
private string? _zipPath;
|
||||
private readonly AdbService _adbService;
|
||||
private AdbService _adbService;
|
||||
|
||||
private const int PROGRESS_LOG_STEP = 10;
|
||||
private const int PROGRESS_UPDATE_STEP = 1;
|
||||
|
|
@ -179,6 +179,8 @@ public partial class MainWindow : Window
|
|||
return;
|
||||
}
|
||||
|
||||
_adbService.RefreshDeviceData();
|
||||
|
||||
InstallButton.IsEnabled = false;
|
||||
InstallProgressBar.Value = 0;
|
||||
|
||||
|
|
@ -222,7 +224,6 @@ public partial class MainWindow : Window
|
|||
var timestamp = DateTime.Now.ToString("HH:mm:ss");
|
||||
LogsTextBox.Text += $"[{timestamp}] {message}\n";
|
||||
|
||||
// Прокручиваем к концу
|
||||
var scrollViewer = LogsTextBox.FindAncestorOfType<ScrollViewer>();
|
||||
scrollViewer?.ScrollToEnd();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue