Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 922 Bytes

BUILD.md

File metadata and controls

57 lines (35 loc) · 922 Bytes

Development

App is based on Node.js and Electron.

Windows

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

macOS

Use Node 20.x. If you have nvm:

nvm install 20
nvm use 20

Compilation

Windows

npm distW

It will build a silent installer inside the dist folder.

macOS

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).

→ for a simple build without sign and notarization

Set "notarize": false, in package.json

Then, run npm distM