Skip to content

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

Open
lzambarda wants to merge 1 commit intogioui:mainfrom
lzambarda:patch/support-open-file-macos
Open

io/transfer,app: [macOS] add support for file opening events#124
lzambarda wants to merge 1 commit intogioui:mainfrom
lzambarda:patch/support-open-file-macos

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.
@lzambarda lzambarda force-pushed the patch/support-open-file-macos branch from df18024 to ccb38cf Compare September 22, 2023 13:48
@eliasnaur
Copy link
Contributor

Duplicate of or overlaps #117?

@whereswaldon whereswaldon force-pushed the main branch 4 times, most recently from 0d543a0 to 1686874 Compare October 7, 2023 00:14
@whereswaldon whereswaldon force-pushed the main branch 2 times, most recently from 67c77c9 to 46cc311 Compare May 30, 2024 08:05
@whereswaldon whereswaldon force-pushed the main branch 2 times, most recently from f8029f2 to 026d3f9 Compare June 20, 2024 07:54
@whereswaldon whereswaldon force-pushed the main branch 13 times, most recently from 3d36537 to 74ccc9c Compare June 27, 2024 14:39
@whereswaldon whereswaldon force-pushed the main branch 4 times, most recently from 70e8d41 to 5b124da Compare December 28, 2025 09:06
@whereswaldon whereswaldon force-pushed the main branch 2 times, most recently from e8d63ad to c250d7d Compare December 28, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants