App is based on Node.js and Electron.
Don't use WSL. Install and run everything from native Windows.
--ignore-optional
is mandatory. Otherwise, node-mac-permissions will give problems. If you've messed up this step, just delete the folder node_modules and proceed to the next command.
Use Node 20.x
. If you have nvm:
nvm install 20
nvm use 20
And then
npm install --ignore-optional
Use Node 20.x
. If you have nvm:
nvm install 20
nvm use 20
npm distW
It will build a silent installer inside the dist folder.
npm distM
Build is inside the dist folder.
It will generate a standalone universal build that runs in ARM (Apple Silicon) and x64 (Intel CPUs).
Set "notarize": false,
in package.json
Then, run npm distM