2020-09-16 05:42:03 +03:00
|
|
|
# only use if package.json doesn't contain a "build"
|
|
|
|
|
|
|
|
directories:
|
|
|
|
output: releases
|
|
|
|
buildResources: app-icons # this is where app-icons is store
|
|
|
|
appId: com.microsoft.olft
|
|
|
|
artifactName: '${productName}-${version}-${platform}.${ext}'
|
|
|
|
extends: null # need this otherwise it won't use the entry point we set in "main" in package.json
|
|
|
|
files:
|
|
|
|
- filter:
|
|
|
|
- build/ # copy this directory to the asar directory that electron-builder use to look for the main entry file
|
2020-11-16 12:07:43 +03:00
|
|
|
- "!node_modules/**/*" # don't include node_modules since Webpack is used to combine all packages
|
2020-09-16 05:42:03 +03:00
|
|
|
mac:
|
|
|
|
icon: app-icons/icon.icns
|
|
|
|
target: dmg
|
|
|
|
identity: null # don't sign the app
|
|
|
|
win:
|
|
|
|
icon: app-icons/icon.ico
|
|
|
|
linux:
|
|
|
|
target:
|
|
|
|
- snap
|
|
|
|
publish: null
|