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

statFileInPackage in platformPackager.js creates wrong path #365

Closed
fooloomanzoo opened this issue Apr 27, 2016 · 0 comments · May be fixed by qcif/data-curator#563
Closed

statFileInPackage in platformPackager.js creates wrong path #365

fooloomanzoo opened this issue Apr 27, 2016 · 0 comments · May be fixed by qcif/data-curator#563

Comments

@fooloomanzoo
Copy link

fooloomanzoo commented Apr 27, 2016

in my app the main.js of my electron application is in the toplevel application source folder (in /src, below the folder where the package.json for electron-builder is):

  "main": "main.js"

The packager considers to look it up in

../dist/"appname"-win32-x64/resources

Where it really is after packaging (asar is false):

../dist/"appname"-win32-x64/resources/app

if I change the entry in the package.json to

  "main": "app/main.js"

packaging is working, but that's not the relative location of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant