-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelectron-builder.production.yml
More file actions
82 lines (82 loc) · 2.43 KB
/
electron-builder.production.yml
File metadata and controls
82 lines (82 loc) · 2.43 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
appId: com.flintnote.flint
productName: Flint
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!svelte.config.mjs'
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
extraResources:
- from: out/templates
to: templates
- CHANGELOG.md
win:
executableName: flint
icon: 'build/icon.png'
# Code signing via custom script using Azure Trusted Signing
# The sign script is called during the build to sign executables BEFORE packaging
sign: build/azure-sign.js
publisherName: 'Timothy Disney'
# Verify update signatures - enabled since we sign during build
verifyUpdateCodeSignature: true
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
category: public.app-category.productivity
icon: 'build/icon.icns'
identity: 'Timothy Disney (R54QLXZTK7)'
hardenedRuntime: true
gatekeeperAssess: false
entitlements: 'build/entitlements.mac.plist'
entitlementsInherit: 'build/entitlements.mac.plist'
# Code signing configuration via environment variables:
# CSC_IDENTITY_AUTO_DISCOVERY=false - Disable automatic code signing discovery
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
target:
- target: dmg
arch: [universal]
- target: zip
arch: [universal]
dmg:
sign: false
title: '${productName} ${version}'
iconSize: 100
window:
width: 540
height: 380
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
linux:
target:
- AppImage
maintainer: Timothy Disney
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
protocols:
- name: Flint
schemes:
- flint
publish:
provider: generic
url: https://updates.flintnote.com
# afterSign: build/notarize.cjs # Disabled: using DMG notarization instead