diff --git a/src/MauiSherpa/Pages/XcodeManagement.razor b/src/MauiSherpa/Pages/XcodeManagement.razor index 830b1df..a5cec0f 100644 --- a/src/MauiSherpa/Pages/XcodeManagement.razor +++ b/src/MauiSherpa/Pages/XcodeManagement.razor @@ -443,129 +443,6 @@ else } } - @* ====== DOWNLOAD/INSTALL MODAL ====== *@ - @if (showInstallModal) - { -
- } } @code { @@ -1131,17 +865,10 @@ else // Download/Install state private XcodeRelease? downloadingRelease; private XcodeDownloadProgress? downloadProgress; - private CancellationTokenSource? downloadCts; - private bool showInstallModal; - private InstallStep currentInstallStep = InstallStep.Download; - private string? installStepMessage; - private string? installError; // Runtime state private string? installingDownloadableRuntimeBuild; - private enum InstallStep { Download, Extract, FirstLaunch, Complete } - private double downloadProgressPercent => downloadProgress?.TotalBytes > 0 ? (double)downloadProgress.BytesReceived / downloadProgress.TotalBytes.Value * 100 @@ -1340,82 +1067,83 @@ else downloadingRelease = release; downloadProgress = null; - downloadCts = new CancellationTokenSource(); - showInstallModal = true; - currentInstallStep = InstallStep.Download; - installStepMessage = null; - installError = null; StateHasChanged(); try { - var tempPath = Path.Combine(Path.GetTempPath(), $"Xcode_{release.Version}_{release.BuildNumber}.xip"); - var progress = new Progress