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: app.getAppPath() returning default-app path when no package.json found #18894

Merged
merged 1 commit into from Jun 21, 2019

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jun 20, 2019

Description of Change

Backport of #18763

Checklist

Release Notes

Notes: Fixed app.getAppPath() returning default-app path when running electron app with no package.json or electron app/index.js. Now the directory containing the executed file is returned.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 20, 2019
@miniak miniak self-assigned this Jun 20, 2019
@miniak miniak added 5-0-x backport This is a backport PR labels Jun 20, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 20, 2019
@miniak miniak changed the title fix: app.getAppPath() returning default-app path for files or directories without package.json fix: app.getAppPath() returning default-app path when no package.json found Jun 20, 2019
@codebytere codebytere merged commit 938b344 into 5-0-x Jun 21, 2019
@release-clerk
Copy link

release-clerk bot commented Jun 21, 2019

Release Notes Persisted

Fixed app.getAppPath() returning default-app path when running electron app with no package.json or electron app/index.js. Now the directory containing the executed file is returned.

@codebytere codebytere deleted the miniak/fix-app-path-5-0-x branch June 21, 2019 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants