51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
electronVersion: 9.0.0
|
|
compression: normal
|
|
npmRebuild: false
|
|
# TODO: enable this in the future once we sign all the linux builds.
|
|
#forceCodeSigning: true
|
|
directories:
|
|
output: dist
|
|
buildResources: build
|
|
app: .
|
|
|
|
mac:
|
|
category: Reference
|
|
icon: ./icons/icon.icns
|
|
target:
|
|
- target: dmg
|
|
- target: zip
|
|
|
|
# steps for notarizing the MacOS builds:
|
|
# https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/
|
|
|
|
hardenedRuntime: true
|
|
gatekeeperAssess: false
|
|
entitlements: build/macos/entitlements.mac.plist
|
|
entitlementsInherit: build/macos/entitlements.mac.plist
|
|
|
|
dmg:
|
|
# The inner app inside the .dmg is signed and there is some broken logic
|
|
# which requires that the DMG itself is not signed.
|
|
sign: false
|
|
|
|
|
|
nsis:
|
|
artifactName: ${name}-${version}-${arch}.${ext}
|
|
|
|
appx:
|
|
artifactName: ${name}-${version}-${arch}.${ext}
|
|
applicationId: polar
|
|
identityName: 25130KevinBurton.PolarBookshelf
|
|
publisher: CN=D3591277-F57D-4C75-B342-D158E6C4AAF5
|
|
publisherDisplayName: Kevin Burton
|
|
|
|
|
|
# https://www.electron.build/configuration/publish
|
|
# https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
|
|
publish:
|
|
provider: github
|
|
publishAutoUpdate: true
|
|
|
|
asar: true
|
|
afterPack: "./electron-builder-afterpack.js"
|
|
afterSign: "./build/macos/notarize.js"
|