mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-30 01:19:58 -07:00
config: rename display to device
Because we toggle some ioctl settings based on this field, change the name to better capture that we're selecting which device we want to load settings for, not just the display module to load. This creates room for future per-device settings without needing more config file fields.
This commit is contained in:
committed by
Will Greenberg
parent
841bc7b015
commit
e239653a44
@@ -104,7 +104,7 @@ async fn setup_rayhunter(mut adb_device: ADBUSBDevice) -> Result<ADBUSBDevice> {
|
||||
&mut adb_device,
|
||||
"/data/rayhunter/config.toml",
|
||||
CONFIG_TOML
|
||||
.replace("#display = \"orbic\"", "display = \"orbic\"")
|
||||
.replace("#device = \"orbic\"", "device = \"orbic\"")
|
||||
.as_bytes(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user