Skip to content

fix: edge case in app.isInApplicationsFolder() - #35729

Merged
codebytere merged 1 commit into
19-x-yfrom
trop/19-x-y-bp-fix-edge-case-in-app-isinapplicationsfolder--1663611612940
Sep 21, 2022
Merged

fix: edge case in app.isInApplicationsFolder()#35729
codebytere merged 1 commit into
19-x-yfrom
trop/19-x-y-bp-fix-edge-case-in-app-isinapplicationsfolder--1663611612940

Conversation

@trop

@trop trop Bot commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

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 recently label Sep 19, 2022
@trop trop Bot added 19-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 recently label Sep 19, 2022
@codebytere
codebytere merged commit 2dfd69e into 19-x-y Sep 21, 2022
@codebytere
codebytere deleted the trop/19-x-y-bp-fix-edge-case-in-app-isinapplicationsfolder--1663611612940 branch September 21, 2022 08:54
@release-clerk

release-clerk Bot commented Sep 21, 2022

Copy link
Copy Markdown

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

19-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.

2 participants