mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 05:35:59 +08:00
macos detecting also mounting of dev
This commit is contained in:
parent
233b60bc12
commit
b61afdfd08
@ -23,6 +23,7 @@
|
|||||||
{
|
{
|
||||||
NSLog(@"add unmount observer");
|
NSLog(@"add unmount observer");
|
||||||
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector: @selector(on_device_unmount:) name:NSWorkspaceDidUnmountNotification object:nil];
|
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector: @selector(on_device_unmount:) name:NSWorkspaceDidUnmountNotification object:nil];
|
||||||
|
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector: @selector(on_device_unmount:) name:NSWorkspaceDidMountNotification object:nil];
|
||||||
}
|
}
|
||||||
-(NSArray*) list_dev
|
-(NSArray*) list_dev
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user