fix drive path so fileAccess will work with it
This commit is contained in:
parent
43b6a0f71c
commit
0bb9ace195
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ driveList :: IO [RemovableDrive]
|
|||
#ifdef mingw32_HOST_OS
|
||||
-- Just enumerate all likely drive letters for Windows.
|
||||
-- Could use wmic, but it only works for administrators.
|
||||
driveList = return $ map (\l -> gen $ l:":") ['A'..'Z']
|
||||
driveList = return $ map (\l -> gen $ l:":\\") ['A'..'Z']
|
||||
where
|
||||
gen dir = RemovableDrive
|
||||
Nothing
|
||||
|
|
Loading…
Reference in a new issue