Memento
Memento copied to clipboard
Mac compat
Allows for basic Mac compatibility through:
- Reorganizing the background object to prevent serializing complex objects into the
process_imagesworkers (by initializing the objects within the run function) - Commenting out
print("QUEUE SIZE", self.images_queue.qsize())as multiprocessing queue.qsize() is not implemented for Mac - 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
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)