-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
59 lines (51 loc) · 2.02 KB
/
electron-builder.yml
File metadata and controls
59 lines (51 loc) · 2.02 KB
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
54
55
56
57
58
59
# This is a global constant, don't change it.
appId: 'org.drupal.cms-launcher'
# These fuses are largely adapted from Electron Forge's boilerplate.
electronFuses:
runAsNode: false
enableCookieEncryption: true
enableEmbeddedAsarIntegrityValidation: true
enableNodeOptionsEnvironmentVariable: false
# This needs to be `true` for the app to be testable by Playwright.
# @see https://playwright.dev/docs/api/class-electron
enableNodeCliInspectArguments: true
onlyLoadAppFromAsar: false
extraResources:
# In conjunction with `files` below, ensure that the PHP and Composer executables
# are in the app's resources directory, not the ASAR archive.
- 'bin/**'
- prebuilt.tar.gz
- settings.local.php
files:
- '!**/bin/**'
# Since we're using a bundler, exclude source code from the packaged app.
- '!**/src/**'
# Don't include tests in the packaged app.
- '!**/tests/**'
nsis:
# This is only applicable to the one-click installer, which is what we build on
# Windows. When we uninstall, it should clean up entirely.
deleteAppDataOnUninstall: true
linux:
# The artifact name cannot contain spaces, or it will be renamed before being attached
# to a GitHub release.
artifactName: 'Drupal_CMS-Linux-${arch}.${ext}'
# By default, an AppImage and a snap are built. For the moment, we'll stick with AppImage.
target: AppImage
mac:
# The artifact name cannot contain spaces, or it will be renamed before being attached
# to a GitHub release.
artifactName: 'Drupal_CMS-macOS.${ext}'
# Only generate ZIP files, since DMGs cannot be auto-updated without them anyway.
target: zip
productName: 'Launch Drupal CMS'
win:
# The artifact name cannot contain spaces, or it will be renamed before being attached
# to a GitHub release.
artifactName: 'Drupal_CMS-Windows.${ext}'
azureSignOptions:
certificateProfileName: drupal-association-cert-profile
codeSigningAccountName: da-trusted-signing-001
endpoint: 'https://wus2.codesigning.azure.net/'
# Best guess.
publisherName: 'Drupal Association'