Files
stambha/crates/stela-cli
Garvit Surana 2daadb1ed2 fix(setup): keep what create downloads in the per-user cache, an Offline installer's whole macOS image too when the computer has room for it with 16 GiB left over, reuse an image whose receipt names the same build and checksum though Apple moved it or listed another Mac for it, check and keep an image a stop left without its receipt, and say where each download is and why one was not reused, where every Offline create streamed all of macOS onto the stick again, an erase or a second stick downloading it anew, and a finished create removed the boot files it had downloaded
A tester's `stambha.exe create` downloaded the same file three times across runs without --ipsw. An Offline installer, the default on a stick of 32 GB or more, wrote the whole image straight onto the stick and kept none of it on the computer, so every create that erased the stick (the wizard always does) downloaded all of it again; its boot files went to images/setup and were downloaded again on every run, and a finished create removed that directory. A stopped create that goes on from its stick still streams, so the pieces on the stick are resumed rather than downloaded to the computer.

A stopped whole-image download already resumed by range; it now resumes too when the catalog entry lists more Macs for the same object, and says so. A stop between publishing the image and writing its receipt left an image that the next run refused; it is now checked against Apple's SHA-1 and kept. A receipt left beside an image removed by hand no longer blocks the download.
2026-11-26 18:02:35 +00:00
..