Skip to content
Commit 70d4b4e0 authored by Julian Pistorius's avatar Julian Pistorius
Browse files

Problem: Building distributable app fails

It seems `electron-builder` is expecting a default of `index.js`. When we
made the web version we renamed `index.js` to `electron-index.js`.

See: dc6f0bb6

When trying to build the app it now results in an error message like:

```
Error: Application entry file "index.js" in the
"/.../exosphere/dist/mac/Exosphere.app/Contents/Resources/app.asar" does not exist. Seems like
a wrong configuration
```

Solution: Add a parameter `-c.extraMetadata.main` set to `electron-index.js`
when calling `electron-builder`.
parent 9dc9f2a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment