macos better wrapper

This commit is contained in:
Slic3rPE 2019-12-11 11:00:47 +01:00 committed by David Kocik
parent 9e4f470f98
commit 44b1a9cf7f
3 changed files with 32 additions and 24 deletions

View file

@ -27,10 +27,6 @@
-(NSArray*) list_dev
{
NSArray* devices = [[NSWorkspace sharedWorkspace] mountedRemovableMedia];
for (NSString* volumePath in devices)
{
NSLog(@"%@", volumePath);
}
return devices;
}