Skip to content
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

fix: edge case in app.isInApplicationsFolder() #35730

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Sep 19, 2022

Backport of #35636

See that PR for details.

Notes: Fixed an edge case in app.isInApplicationsFolder() which would return false incorrectly in some cases.

* fix: edge case in IsInApplicationsFolder

* use realpath instead

* lint

* revert lowercasing

* optimize

* Update shell/browser/ui/cocoa/electron_bundle_mover.mm

* lint

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 19, 2022
@trop trop bot added 21-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Sep 19, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 19, 2022
@jkleinsc jkleinsc merged commit 3437ffc into 21-x-y Sep 19, 2022
@jkleinsc jkleinsc deleted the trop/21-x-y-bp-fix-edge-case-in-app-isinapplicationsfolder--1663611627423 branch September 19, 2022 20:50
@release-clerk
Copy link

release-clerk bot commented Sep 19, 2022

Release Notes Persisted

Fixed an edge case in app.isInApplicationsFolder() which would return false incorrectly in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
21-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.

None yet

2 participants