Exposing 'DRIVELIST_FILTER_SYSTEM_DRIVES' as a cmake variable

Makes the filtering-behaviour userconfigureable during compile-time.
This way its easier to configure the imager for flashing SATA or NVME
Drives installed in your system (because of lack of adapters),
or if the drives are (accidentally) labled as systemdrives by drivelist.
This commit is contained in:
MrSmör 2024-02-09 11:08:00 +01:00 committed by Tom Dewey
parent 4378127872
commit a44b9ae856
2 changed files with 8 additions and 3 deletions

View file

@ -19,9 +19,6 @@
/* Hash algorithm for verifying (uncompressed image) checksum */
#define OSLIST_HASH_ALGORITHM QCryptographicHash::Sha256
/* Hide system drives from list */
#define DRIVELIST_FILTER_SYSTEM_DRIVES true
/* Update progressbar every 0.1 second */
#define PROGRESS_UPDATE_INTERVAL 100