M
M
mrdragon90002019-09-30 07:24:26
macOS
mrdragon9000, 2019-09-30 07:24:26

Electron-builder mac how to specify resource paths correctly?

I'm building an electron application (final assembly via electron builder).
On windows, when launched via npm start, the icon is loaded along the path ./resources/img/logo32.ico , when the compiled version is launched along the path ./resources/app.asar/resources/img/logo32.ico
I decided to build on Mac Os, but when trying to run, it gives not found ./resources/img/logo32.ico

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question