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
If the screen dimensions that are reported by EDID are
unrealistically low disable high dpi scaling.
For this purposes we consider the EDID incorrect if screen is
reported as smaller than 10 cm in width.
Closes#153
- Adds "hidden" shift+ctrl+X shortcut for eXpert image customization
options.
Allows one to set certain options on RPI OS images, namely:
* disable overscan
* set hostname
* enable ssh and
- set Pi user password if using password authentication
OR
- set authorized_keys
(if running Imager on Linux/Mac this will
have contents of ~/.ssh/id_rsa.pub prefilled)
* configure wifi settings
(if computer running Imager is connected by wifi it will
prefill wifi SSID and if on Windows also PSK).
* set time zone and keyboard layout
Related to feature requests/issues:
Ref #127
Ref #86
Ref #102
Ref #73
Ref #68
Ref #25
Ref #12
- Option Window also allows setting a couple other general settings:
* Adds option for audible notification (beep) when imaging completes.
Closes#46
* Adds option not to eject media when done.
Closes#144
- No longer suspends a number of Windows services during Imaging
(We want Windows to detect the drive and mount it, or we may
not be able to alter files on FAT partition).