Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io/transfer,app: [macOS] add support for file opening events #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lzambarda
Copy link

Correctly handle macOS file opening events so that an app containing a binary using gio can be used to open certain files and even be set as default app for certain file extensions.
This is done via implementing application:openFile in GioAppDelegate.

File events issued this way will be made available to a gio through the io/transfer package. This package now also contains documentation for how to register a macOS app as able to support certain file extensions.

Note: I was working on this and sending patches to the main developer via email. However I struggle to find time to finalise some changes and therefore I will leave this so that it can be discussed and maybe picked-up by some other developer as I believe the changes in here are quite valuable for macOS developers!

Correctly handle macOS file opening events so that an app containing a
binary using gio can be used to open certain files and even be set as
default app for certain file extensions.
This is done via implementing application:openFile in GioAppDelegate.

File events issued this way will be made available to a gio through the
io/transfer package. This package now also contains documentation for
how to register a macOS app as able to support certain file extensions.
@eliasnaur
Copy link
Contributor

Duplicate of or overlaps #117?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants