Skip to content

fix: set XDG_CURRENT_DESKTOP env var back to original value before invoking xdg utils - #46788

Merged
ckerr merged 1 commit into
36-x-yfrom
trop/36-x-y-bp-fix-set-xdg_current_desktop-env-var-back-to-original-value-before-invoking-xdg-utils-1745598706782
Apr 25, 2025
Merged

ckerr merged 1 commit into
36-x-yfrom
trop/36-x-y-bp-fix-set-xdg_current_desktop-env-var-back-to-original-value-before-invoking-xdg-utils-1745598706782

Conversation

@trop

@trop trop Bot commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

Backport of #45310

See that PR for details.

Notes: Fixed electron.shell.openExternal and electron.shell.openPath to honor user-defined system defaults on Linux

…invoking xdg utils (#45310)

* Fix XDG_CURRENT_DESKTOP before invoking XDGUtil

* apply suggestion

* use existing XDG_CURRENT_DESKTOP const

Co-authored-by: Evan Simkowitz <[email protected]>
@trop
trop Bot requested a review from a team April 25, 2025 16:32
@trop trop Bot added 36-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Apr 25, 2025
@ckerr
ckerr merged commit 108fdac into 36-x-y Apr 25, 2025
@ckerr
ckerr deleted the trop/36-x-y-bp-fix-set-xdg_current_desktop-env-var-back-to-original-value-before-invoking-xdg-utils-1745598706782 branch April 25, 2025 20:27
@release-clerk

release-clerk Bot commented Apr 25, 2025

Copy link
Copy Markdown

Release Notes Persisted

Fixed electron.shell.openExternal and electron.shell.openPath to honor user-defined system defaults on Linux

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

Labels

36-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant