electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.72k stars 1.74k forks source link

app.getAppPath() breaks when making universal builds for mac #6687

Open has-n opened 2 years ago

has-n commented 2 years ago

When building universal builds, app.getAppPath() returns path to the base asar even though either of app-arm64.asar or app-x64.asar may have been loaded.

What is a cross-platform way to continue getting the root of the project?

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.