pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
109 stars 46 forks source link

Mac: Support Drag-n-Dropp and double click of .image files #627

Open MarcusDenker opened 1 year ago

MarcusDenker commented 1 year ago

Long time ago one could just drag an image in the finder on a VM and it would open that image. Or, one could just define one VM and setup MacOS so that double click of an image would open it.

It would be nice if the Launcher would support this.

Now, when using drag-n-drop, it opens the launcher, but it does not open the dropped image

Rinzwind commented 2 months ago

Currently, as of Pharo Launcher v3.2, when using ‘Open with’ in Finder on an ‘.image’ file and selecting ‘PharoLauncher’, or when dragging the file onto the app in Finder or the dock, Pharo Launcher is opened which then opens an inspector on a FileReference for the file. In pull request #696, I’m proposing to add a file service so that instead of an inspector being opened, the image is launched as if the file was selected when using the ‘From disk’ toolbar button.