ninxsoft / mist-cli

A Mac command-line tool that automatically downloads macOS Firmwares / Installers.
MIT License
622 stars 29 forks source link

check if caching server is reachable before using #161

Open dnikles opened 9 months ago

dnikles commented 9 months ago

:bulb: Description

If a caching server is given but is unreachable, Mist will fail to download the installer.

:white_check_mark: Proposed solution

Check if a given caching server is reachable, and failover to not using the caching server if it is not.

:adhesive_bandage: Alternatives Solutions + Workarounds

Currently this can be accomplished with a script outside of Mist, then calling mist-cli with the appropriate option (or lack thereof)

:information_source: Additional context

ninxsoft commented 9 months ago

Makes sense! I'll see how much work is involved to default to no caching server, if the specified one is not accessible 👍