Onion-Desktop-Tools
Onion-Desktop-Tools copied to clipboard
SD Card not detected
My SD Card is not detected.
This is the output of .\RMPARTUSB.exe LIST
:
*DRIVE 5 - 59.6GiB TS-RDF5 SD Transcend Fw=TS37 Sno=d@ G:
The regex at https://github.com/schmurtzm/Onion-Desktop-Tools/blob/a47445a8511b906a4af4147902e23d47ba157f4d/Disk_selector.ps1#L52 doesn't match the @
in the Sno
, I fixed it by replacing it with
'\*?DRIVE (\d+) -\s+([\d.]+[KMGTP]?iB)\s+(.*?)\s+Fw=(\w+)*\s+Sno=([\w@]+)*\s+(\w+):'
I don't know if Sno
can contain more special characters.