Repository navigation
feat: add Linux support for app.getApplicationInfoForProtocol() - #51297
Conversation
app.getApplicationInfoForProtocol() on Linuxapp.getApplicationInfoForProtocol()
|
This is a I'm not sure what the protocol is for the API WG, so I'm not sure if I should remove the |
6822bd7 to
cea2894
Compare
|
(force-pushed after |
test: add Linux test coverage for app.getApplicationInfoForProtocol()
cea2894 to
4cb44a2
Compare
| process.env.PATH = [xdgBinDir, oldEnv.PATH].filter(Boolean).join(':'); | ||
| process.env.XDG_DATA_HOME = xdgDataHome; | ||
| process.env.XDG_DATA_DIRS = getXdgDataDirsWithFallback(xdgDataHome, oldEnv.XDG_DATA_DIRS); | ||
| process.env.XDG_CONFIG_HOME = xdgConfigHome; | ||
| app.setDesktopName(desktopFileId); |
There was a problem hiding this comment.
These are all undefined and erroring: https://github.com/electron/electron/actions/runs/25076931193/job/73474642231?pr=51297
jkleinsc
left a comment
There was a problem hiding this comment.
requesting changes since there is a build failure
|
Oops, looks like I broke it while rebasing :( |
fix accidental clobber of XDG_DATA_DIRS
4cb44a2 to
d4edc9d
Compare
|
Release Notes Persisted
|
|
I was unable to backport this PR to "42-x-y" cleanly; |
…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
#51680) feat: add Linux support for `app.getApplicationInfoForProtocol()` (#51297) * 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
Description of Change
app.getApplicationInfoForProtocol()on Linux.spec/lib/xdg-helpers.tsRelated: #51253, #51197
Checklist
npm testpassesRelease Notes
Notes: Added Linux support for
app.getApplicationInfoForProtocol().