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 #18895

Merged
merged 1 commit into from Jun 24, 2019

Conversation

@miniak
Copy link
Contributor

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.

@miniak miniak self-assigned this 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 a568e13 into 4-2-x Jun 24, 2019

12 of 13 checks passed

build-mac Workflow: build-mac
Details
Artifact Comparison No Changes
Details
Semantic Pull Request ready to be squashed
Details
Valid Backport Valid Backport
Details
WIP Ready for review
Details
appveyor: win-ia32-testing AppVeyor build succeeded
Details
appveyor: win-ia32-testing-pr AppVeyor build succeeded
Details
appveyor: win-x64-testing AppVeyor build succeeded
Details
appveyor: win-x64-testing-pr AppVeyor build succeeded
Details
build-linux Workflow: build-linux
Details
electron-arm-testing Build #20190620.14 succeeded
Details
electron-arm64-testing Build #20190620.14 succeeded
Details
release-notes Release notes found
@release-clerk

This comment has been minimized.

Copy link

commented Jun 24, 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-4-2-x branch Jun 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.