-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
86 lines (86 loc) · 2.53 KB
/
electron-builder.yml
File metadata and controls
86 lines (86 loc) · 2.53 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
83
84
85
86
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,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
- CHANGELOG-CANARY.md
win:
executableName: flint
# Code signing via custom script using Azure Trusted Signing
# For local builds, set environment variables:
# AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET,
# AZURE_SIGNING_ENDPOINT, AZURE_SIGNING_ACCOUNT_NAME, AZURE_CERTIFICATE_PROFILE
# If not set, build proceeds without signing
sign: build/azure-sign.js
publisherName: 'Timothy Disney'
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
- snap
- deb
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