grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
841 stars 133 forks source link

[BUG] Manual restart prevents upgrade from completing #528

Open lewis-edward-svvsd opened 3 days ago

lewis-edward-svvsd commented 3 days ago

Describe the bug It seems that if a restart is triggered manually during the "rebootdelay" prompt the upgrade does not process

To Reproduce

Expected behavior Should this be happening? It seems that a manual restart should not prevent the upgrade. Another option is the report delay prompt shows "restart now" instead of a greyed out "Okay"

Code/log output

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context I am not sure if a bug, or me just misunderstanding how the reboot delay works.

grahampugh commented 1 day ago

Hi, the rebootdelay option is baked into startosinstall (not part of the erase-install code), so there's nothing I can do to change its behaviour. You might want to open a feedback with Apple on that one.