40 lines
673 B
YAML
40 lines
673 B
YAML
appId: com.ffi.napi.app
|
|
productName: FFI-NAPI App
|
|
directories:
|
|
output: dist/32bit
|
|
buildResources: build
|
|
|
|
win:
|
|
target:
|
|
- target: nsis
|
|
arch:
|
|
- ia32
|
|
icon: build/icon.ico
|
|
|
|
nsis:
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|
|
perMachine: true
|
|
createDesktopShortcut: always
|
|
createStartMenuShortcut: true
|
|
shortcutName: FFI-NAPI App
|
|
artifactName: "${productName}-Setup-Win32-${version}.${ext}"
|
|
|
|
files:
|
|
- "main.js"
|
|
- "index.html"
|
|
- "test.js"
|
|
- "package.json"
|
|
- "exe/**/*"
|
|
- "!node_modules/**/*"
|
|
- "!dist/**/*"
|
|
- "!.git/**/*"
|
|
- "!*.log"
|
|
|
|
asar: true
|
|
|
|
extraResources:
|
|
- from: "exe"
|
|
to: "exe"
|
|
filter: "**/*"
|