-
Notifications
You must be signed in to change notification settings - Fork 20
/
electron-builder.yml
53 lines (53 loc) · 1.31 KB
/
electron-builder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
productName: "Elastic Synthetics Recorder"
appId: co.elastic.synthetics-recorder
artifactName: ${name}-${version}-${os}-${arch}.${ext}
beforePack: "./scripts/before-pack.js"
afterPack: "./scripts/after-pack.js"
afterSign: "./scripts/notarize.js"
files:
- build/**/*
- scripts/**/*
- assets/entitlements.mac.plist
extraResources:
- from: local-browsers/_releases/${os}-${arch}
to: local-browsers
- NOTICE.txt
publish:
- provider: github
extraMetadata:
main: build/electron/electron.js
protocols:
- name: elastic-synthetics-recorder
schemes:
- elastic-synthetics-recorder
mac:
icon: public/elastic.png
category: public.app-category.developer-tools
entitlements: assets/entitlements.mac.plist
entitlementsInherit: assets/entitlements.mac.plist
gatekeeperAssess: false
hardenedRuntime: true
target:
- target: default
arch:
- x64
- arm64
win:
target:
- target: nsis
arch:
- x64
icon: public/elastic.png
linux:
target:
- target: deb
arch:
- x64
icon: public/elastic.png
category: Utility
# electron-builder issue:
# https://github.com/electron-userland/electron-builder/issues/6200#issuecomment-907830847
asarUnpack:
- "**\\*.{node,dll}"
- "**/node_modules/sharp/**"
- "**/node_modules/@elastic/synthetics/**"