-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelectron-builder.yml
43 lines (43 loc) · 1.75 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
appId: ws.opencor.app
productName: OpenCOR
win:
artifactName: ${productName}-${version}-Windows.${ext}
extraFiles:
- from: 'out/libOpenCOR.dll'
to: 'libOpenCOR.dll'
target:
- nsis
- zip
nsis:
uninstallDisplayName: ${productName}
linux:
artifactName: ${productName}-${version}-Linux.${ext}
category: Utility
executableName: OpenCOR
extraFiles:
- from: 'out/libOpenCOR.so.0.0.0'
to: 'libOpenCOR.so.0.0.0'
target:
- AppImage
- tar.gz
mac:
# - Code signing:
# - Generate a “Developer ID Application” certificate (this can only be done by the team’s account holder; see https://developer.apple.com/help/account/create-certificates/create-developer-id-certificates).
# - For the certificate to be usable by other team members, the account holder must generate (and then share) a `.p12` file and its corresponding password:
# - Double click on the `.cer` file (this will add the certificate to the `My Certificates` section of the `login` keychain).
# - Export the certificate (by right clicking on it) and give it a password.
# - Notarisation:
# - APPLE_ID: the team member’s email address used to login to https://account.apple.com/.
# - APPLE_APP_SPECIFIC_PASSWORD: a password the team member generated using the App-Specific Passwords tool at https://account.apple.com/account/manage.
# - APPLE_TEAM_ID: an id that can be found in the top right corner of https://developer.apple.com/account/resources/certificates/list.
artifactName: ${productName}-${version}-macOS-${arch}.${ext}
extraFiles:
- from: 'out/libOpenCOR.0.0.0.dylib'
to: 'Frameworks/libOpenCOR.0.0.0.dylib'
target:
- dmg
- pkg
- zip
publish:
provider: generic
url: https://opencor.ws/auto-updates