Skip to content

feat: Use DIR_ASSETS path to locate resource bundles #47951

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

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Aug 4, 2025

Backport of #47439

See that PR for details.

Notes: Internally switched to using DIR_ASSETS instead of DIR_MODULE/DIR_EXE to locate assets and resources, and added "assets" as a key that can be queried via app.getPath.

trop bot and others added 7 commits August 4, 2025 03:34
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
…ble on Windows + Linux

Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
@trop trop bot requested a review from a team August 4, 2025 03:35
@trop trop bot added 37-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Aug 4, 2025
Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

Approved by @electron/wg-releases on Aug 6th 2025

@codebytere codebytere merged commit 4f426da into 37-x-y Aug 6, 2025
108 of 112 checks passed
@release-clerk
Copy link

release-clerk bot commented Aug 6, 2025

Release Notes Persisted

Internally switched to using DIR_ASSETS instead of DIR_MODULE/DIR_EXE to locate assets and resources, and added "assets" as a key that can be queried via app.getPath.

@codebytere codebytere deleted the trop/37-x-y-bp-feat-use-dir_assets-path-to-locate-resource-bundles-1754278463735 branch August 6, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
37-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant