The FAT partition /dev node is supposed to be already available
after running partprobe, but since there is a user report that
is not always the case, double check and delay if necessary.
Closes#237
In order to be consistent with other services moving to raspberrypi.com,
send telemetry there instead of raspberrypi.org.
Note that the raspberrypi.org endpoint will continue to work
indefinitely in order to support existing clients.
Offer to prefill the wifi password of the system running
Imager, like we do on Windows.
Ask user first if that is desired, as it does cause OS X to
generate a prompt asking for admin password.
We could cover the backtic case by using nowdoc instead of
heredoc, but then there may still be problems with double quotes.
Put the PBKDF2 hash instead of plaintext password in
wpa_supplicant.conf to solve such problems.
Closes#206
Had wrongfully assumed CFStringRef's were reference counted
objects that needed to be CFRelease()'d when we no longer
needed them.
However according to the CFArrayGetValueAtIndex() API docs
( https://developer.apple.com/documentation/corefoundation/1388767-cfarraygetvalueatindex?language=objc )
it follows "get rule" for memory ownership, meaning it is not
ours to release.
Only prefLangs returned by CFLocaleCopyPreferredLanguages()
need to be CFRelease()'d as that does follow "create rule"
Ref #202 (Crash on Mac OS Big Sur)
Qt by default consults AppleLanguages property.
Use a CFLocaleCopyPreferredLanguages() construct instead.
Only look at most preferred language, ignore others.
Ref #160
- Check if config.txt exists on drive letter before proceeding to
write changes. Wait up to 3 seconds if not.
- Force drive letter assignment for portable SSDs and other devices
that pretend to be a fixed drive. (Windows only auto-assigns
drive letters for removable media).
Ref #171