dotherightthing / focalpoint-multi-cropper

Add a focalpoint to an image and generate project-specific crops.
0 stars 0 forks source link

Launching FocalpointMultiCropper.app from Streamdeck opens a second instance of Electron (macOS) #121

Closed dotherightthing closed 2 hours ago

dotherightthing commented 2 hours ago

On macOS, the system enforces single instance automatically when users try to open a second instance of your app in Finder, and the open-file and open-url events will be emitted for that. However when users start your app in command line, the system's single instance mechanism will be bypassed, and you have to use this method to ensure single instance.