This is my first attempt at creating an electronjs
app, so I may not have a full grasp on what I'm doing.
I've been following the instructions on GitHub
and also this guide from Medium.
Here's a snippet of my package.json
:
{
(package.json data)
}
In the build script in the package.json, I have specified setups for both mac
and win
. However, when I run:
nom run dist
only a DMG
file is successfully built. There is no output related to building for Windows
. Any idea what setting I might be missing?
I'm using a MacBook with macOS 10.12.6
. Is it possible that you can only build for your own platform? Can a Mac
system build for Windows
?
Update01
I removed the build script section entirely from the package.json
and the build still went through without errors. Could it mean that the build script is referenced elsewhere perhaps?