Memento icon indicating copy to clipboard operation
Memento copied to clipboard

Mac compat

Open cparish312 opened this issue 1 year ago • 2 comments

Allows for basic Mac compatibility through:

  1. Reorganizing the background object to prevent serializing complex objects into the process_images workers (by initializing the objects within the run function)
  2. Commenting out print("QUEUE SIZE", self.images_queue.qsize()) as multiprocessing queue.qsize() is not implemented for Mac
  3. When on Mac utils.get_active_window() always returns None. I couldn't find a simple Mac python replacement. The best lead involved calling AppleScript through subprocess

Mac config: Chip: Apple M3 Max macOS: 14.1.1

cparish312 avatar Apr 23 '24 14:04 cparish312

Thanks for your contribution !

As soon as I can get my hands on a Mac, I will test and review.

Can you include your Mac's config in the PR text ? (CPU and OS version mainly)

apirrone avatar Apr 23 '24 15:04 apirrone