-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathelectron-builder.yml
116 lines (105 loc) · 3.02 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
appId: com.sandakannipunajith.nora
productName: Nora
copyright: Copyright © 2024 Sandakan Nipunajith
icon: ./build/icon.ico
artifactName: '${productName} v${version}-${os}-${arch}.${ext}'
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.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}'
- '!**/resources/other/*'
- '!**/resources/installer_assets/*'
- '!**/resources/other/*'
asarUnpack:
- resources/**
fileAssociations:
- ext: mp3
icon: ./build/installer_assets/file_associated_icons/mp3.ico
mimeType: audio/mpeg
role: Editor
- ext: wav
icon: ./build/installer_assets/file_associated_icons/wav.ico
mimeType: audio/wav
role: Editor
- ext: ogg
icon: ./build/installer_assets/file_associated_icons/ogg.ico
mimeType: audio/ogg
role: Editor
- ext: aac
icon: ./build/installer_assets/file_associated_icons/aac.ico
mimeType: audio/aac
role: Editor
- ext: m4r
icon: ./build/installer_assets/file_associated_icons/m4r.ico
mimeType: audio/x-m4r
role: Editor
- ext: flac
icon: ./build/installer_assets/file_associated_icons/flac.ico
mimeType: audio/flac
role: Editor
- ext: opus
icon: ./build/installer_assets/file_associated_icons/opus.ico
mimeType: audio/ogg
role: Editor
- ext: m4a
icon: ./build/installer_assets/file_associated_icons/m4a.ico
mimeType: audio/mp4
role: Editor
win:
executableName: Nora
target:
- target: nsis
arch:
- x64
- arm64
nsis:
shortcutName: '${productName}'
allowElevation: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
installerIcon: ./build/icon.ico
installerSidebar: ./build/installer_assets/sidebar.bmp
license: ./LICENSE.txt
oneClick: false
perMachine: false
uninstallerIcon: ./build/icon.ico
mac:
category: public.app-category.music
darkModeSupport: true
entitlementsInherit: build/entitlements.mac.plist
gatekeeperAssess: false
hardenedRuntime: true
icon: ./build/icon.icns
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."
notarize: false
target:
- target: dmg
arch:
- x64
- arm64
linux:
target:
- AppImage
- snap
- deb
- rpm
# - flatpak
category: AudioVideo
synopsis: 'An elegant music player built using Electron and React. Inspired by Oto Music for Android by Piyush Mamidwar.'
npmRebuild: false
protocols:
name: nora-protocol
schemes:
- nora
publish:
owner: Sandakan
provider: github