mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
OSX: fix unmounting drives that have APFS volumes
- If a drive is formatted APFS it will have a seperate disk devices for physical drive (e.g. /dev/disk2) and volumes (e.g. /dev/disk3). Need to unmount all, or opening the device for writing will subsequently fail. (User will see an "Error running authopen" error in Imager in that case). - Also do not show APFS volumes seperately in the disk selection dialog. List mount points under physical drive instead. Closes #501
This commit is contained in:
parent
9d4665dbca
commit
30225187bd
5 changed files with 100 additions and 4 deletions
|
@ -267,7 +267,8 @@ elseif(APPLE)
|
|||
find_library(CoreFoundation CoreFoundation)
|
||||
find_library(DiskArbitration DiskArbitration)
|
||||
find_library(Security Security)
|
||||
set(EXTRALIBS ${EXTRALIBS} ${CoreFoundation} ${DiskArbitration} ${Security} ${Cocoa})
|
||||
find_library(IOKit IOKit)
|
||||
set(EXTRALIBS ${EXTRALIBS} ${CoreFoundation} ${DiskArbitration} ${Security} ${Cocoa} ${IOKit})
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE YES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/mac/Info.plist.in)
|
||||
|
||||
find_program(MACDEPLOYQT "macdeployqt" PATHS "${Qt5_DIR}/../../../bin")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue