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
In order to view the impact of changes such as OS releases over a longer
period of time, we have removed the automatic expiry of the anonymous
download counts from the rpi-imager stats service.
For reference, the download counts contain only the following data:
> ZREVRANGE image:2021-03-12 0 1 WITHSCORES
1) Raspberry Pi OS (32-bit)
2) 1234
3) Raspberry Pi OS Lite (32-bit)
4) 567
Update the README section about telemetry in order to reflect the
change.
ON LINUX PLATFORM ONLY
Allow NVMe destination drives as long as they are not mounted
except under /media
This does increase the risk of someone accidently selecting an
internal NVMe drive that is not mounted under the current OS
(Linux) but do is being used by the other operating system
(e.g. Windows) on dual boot systems.
But is deemed to be an acceptable risk.
Ref #158