Skip to content

feat: add Linux support for app.getApplicationInfoForProtocol() (#5… - #51680

Merged
jkleinsc merged 1 commit into
42-x-yfrom
feat/support-app.getApplicationInfoForProtocol-on-linux--42-x-y
May 20, 2026
Merged

jkleinsc merged 1 commit into
42-x-yfrom
feat/support-app.getApplicationInfoForProtocol-on-linux--42-x-y

Conversation

@ckerr

@ckerr ckerr commented May 18, 2026 •

Copy link
Copy Markdown
Member

Manually backport #51297 to 42-x-y. See that PR for details.

PR 4 in a series of 5 in 42-x-y. Previously: #51214, #51285, #51628. Next: #51316

This PR is somewhere between semver/patch and semver/minor, so I've chosen the latter to be safe. app.getApplicationInfoForProtocol() is a pre-existing feature on macOS and Windows. This PR adds Linux supoprt.

Notes: Added Linux support for app.getApplicationInfoForProtocol().

@ckerr ckerr added backport This is a backport PR no-backport 42-x-y labels May 18, 2026
@trop trop Bot added the semver/minor backwards-compatible functionality label May 18, 2026
…1297)

* feat: implement app.getApplicationInfoForProtocol() on Linux

* refactor: move xdg spec helpers to spec/lib/xdg-helpers.ts

test: add Linux test coverage for app.getApplicationInfoForProtocol()

* chore: make gncheck happy

* fixup! refactor: move xdg spec helpers to spec/lib/xdg-helpers.ts

fix accidental clobber of XDG_DATA_DIRS
@ckerr
ckerr marked this pull request as draft May 18, 2026 21:35
@ckerr
ckerr force-pushed the feat/support-app.getApplicationInfoForProtocol-on-linux--42-x-y branch from c0c2d94 to ffa7199 Compare May 18, 2026 22:00
@ckerr
ckerr marked this pull request as ready for review May 19, 2026 14:35
@jkleinsc

Copy link
Copy Markdown
Member

This doesn't need API WG approval - I'm not sure why cation added it.

@jkleinsc jkleinsc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API LGTM

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need API WG approval - I'm not sure why cation added it.

API LGTM

@jkleinsc
jkleinsc merged commit 09d7d7a into 42-x-y May 20, 2026
131 of 133 checks passed
@jkleinsc
jkleinsc deleted the feat/support-app.getApplicationInfoForProtocol-on-linux--42-x-y branch May 20, 2026 19:52
@release-clerk

release-clerk Bot commented May 20, 2026

Copy link
Copy Markdown

Release Notes Persisted

Added Linux support for app.getApplicationInfoForProtocol().

@mlaurencin

mlaurencin commented May 20, 2026 •

Copy link
Copy Markdown
Member

Was approved by @electron/wg-releases
(for future reference)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants