XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.75k stars 294 forks source link

Add installation progress bar to dock icon #423

Closed senmu closed 9 months ago

senmu commented 11 months ago

Closes #17

Uses suggested DockProgress to display a progress bar overlay on top of the dock icon as an Xcode is downloading.

Successor to #85. A new overallProgress has been pulled up to track the downloading and the unarchive portion of installing an Xcode. Within the overallProgress the following weights are applied:

Below are some previews:

During download

Screenshot 2023-09-14 at 13 06 35

During unarchiving

Screenshot 2023-09-14 at 13 09 28

During the post-installation/finishing steps

These final steps require user interaction so no new child Progress objects were created to track these. However, you can see that once it gets here, the progress bar is gone.

Screenshot 2023-09-14 at 13 24 18
senmu commented 11 months ago

I needed to update the CI workflow to use Xcode 14.2 via b6e654c as building failed (see 622fac6) on 13.2.1

MattKiazyk commented 9 months ago

Thanks a bunch @senmu (sorry for the late response)