-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yml
78 lines (66 loc) · 2.46 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Electron Builder Configuration
# https://www.electron.build/configuration/configuration
# https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/scheme.json
appId: com.github.dragonrealms-phoenix.phoenix
# Name of the generated artifacts.
# Note, this must result in unique names across all targets and architectures.
# https://github.com/electron-userland/electron-builder/issues/7098#issuecomment-1577507664
artifactName: ${name}-v${version}-${os}-${arch}.${ext}
copyright: Copyright © 2023-2024 Katoak
# Name (without extension) to the app icon to use.
# It only shows in the "About" menu when the app is packaged.
# The path is relative to the `directories.buildResources` location set below.
# Electron will use the following platform-specific extensions:
# MacOS ==> {icon}.icns
# Windows ==> {icon}.ico
icon: icon
# Whether to rebuild native dependencies before starting to package the app.
npmRebuild: false
# These glob patterns specify which files to unpack when creating the asar archive.
# For example, very large files or images that the main process needs.
asarUnpack:
# Paths to use at build-time.
directories:
# Where to put the built artifact files.
# This path should be in .gitignore.
output: dist
# Resources like app icon images that should be available at build-time.
# These resources are not packaged with the app.
# Use the `files` sections below to specify what gets packaged with the app.
buildResources: resources
# These glob patterns specify which files to include when creating the package.
# https://www.electron.build/configuration/contents#files
files:
- electron/build
- .env
# Windows Build Configurations
# https://www.electron.build/configuration/win
# https://www.electron.build/configuration/nsis
win:
target:
- target: nsis
arch:
- x64
# MacOS Build Configurations
# https://www.electron.build/configuration/mac
# https://www.electron.build/configuration/dmg
mac:
category: public.app-category.role-playing-games
entitlementsInherit: build/entitlements.mac.plist
notarize: false
target:
- target: default
arch:
- x64
# Linux Build Configurations
# https://www.electron.build/configuration/linux
# https://www.electron.build/configuration/deb
linux:
category: RolePlaying
target:
- target: deb
arch:
- x64
# Specify where to upload the artifacts after they're built.
# https://www.electron.build/configuration/publish
publish: null