Fixes opening single files from Finder drag/drop onto the app icon or via Open With on macOS.
macOS may deliver these opens through application:openFiles: / application:openFile:, while GPUI was only handling application:openURLs:.
This registers those delegate callbacks, converts incoming file paths to file:// URLs, and forwards them through the existing open URL handling path.
Tested:
- cargo check -p gpui
Fixes opening single files from Finder drag/drop onto the app icon or via Open With on macOS.
macOS may deliver these opens through application:openFiles: / application:openFile:, while GPUI was only handling application:openURLs:.
This registers those delegate callbacks, converts incoming file paths to file:// URLs, and forwards them through the existing open URL handling path.
Tested:
- cargo check -p gpui