Removed blanket !node_modules exclusion and added asarUnpack for .node files so uiohook-napi's native binary can be loaded at runtime.
39 lines
771 B
YAML
39 lines
771 B
YAML
appId: com.backspace.desktop
|
|
productName: Backspace
|
|
artifactName: "${productName}-${version}-${arch}.${ext}"
|
|
directories:
|
|
output: dist-electron
|
|
files:
|
|
- dist/**/*
|
|
- resources/**/*
|
|
asarUnpack:
|
|
- "**/*.node"
|
|
publish:
|
|
- provider: github
|
|
owner: TheZwiss
|
|
repo: backspace
|
|
protocols:
|
|
- name: Backspace
|
|
schemes:
|
|
- backspace
|
|
mac:
|
|
category: public.app-category.social-networking
|
|
minimumSystemVersion: "12.0"
|
|
extendInfo:
|
|
NSAudioCaptureUsageDescription: "Backspace needs access to system audio to share sound during screen sharing."
|
|
target:
|
|
- dmg
|
|
- zip
|
|
win:
|
|
icon: ./build/icon.ico
|
|
target:
|
|
- nsis
|
|
linux:
|
|
target:
|
|
- AppImage
|
|
- deb
|
|
category: Network
|
|
nsis:
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|