Further testing suggests that macOS unconditionally replaces the final character with a `1` (I tested with `kbio02` as the device short name, which became the "Serial Number" `CDkbio02`, and it got changed to `CDkbio01` in the filename). This change will try looking for any file that matches the serial number with the final character replaced with "1" (not just if that charater is "E"). I also added some comments that might help update the script in the future if the OS changes behaviour.pull/301/head
parent
b6fe847997
commit
b89dfece19
Loading…
Reference in new issue