-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
132 lines (119 loc) · 3.15 KB
/
electron-builder.yml
File metadata and controls
132 lines (119 loc) · 3.15 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
appId: dev.f-io.livi
productName: LIVI
directories:
buildResources: assets
files:
- out/**
- package.json
- node_modules/**
- '!**/.cache/**'
- '!**/.pnpm-store/**'
- '!**/node_modules/.vite/**'
- '!**/node_modules/.cache/**'
- '!**/.vscode/**'
- '!**/*.map'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml,CHANGELOG.md,README.md}'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!src/**'
- '!out/main/bt/**'
asarUnpack:
- resources/**
- node_modules/usb/**
linux:
target:
- AppImage
- deb
icon: icons/linux/livi.png
maintainer: 'Lasse Heitgres <hello@f-io.dev>'
category: Utility
extraResources:
- from: assets/linux/livi.apparmor
to: livi.apparmor
- from: assets/linux/dev.f-io.livi.metainfo.xml
to: ../share/metainfo/dev.f-io.livi.metainfo.xml
- from: assets/gstreamer/linux-x64
to: gstreamer/linux-x64
filter:
- '**/*'
- '!**/*.a'
- '!share/**'
- from: assets/gstreamer/linux-arm64
to: gstreamer/linux-arm64
filter:
- '**/*'
- '!**/*.a'
- '!share/**'
- from: src/main/services/projection/driver/aa/bt
to: aa/bt
filter:
- '**/*'
- '!__pycache__/**'
- '!*.pyc'
deb:
packageName: livi
artifactName: ${name}-${version}-linux-${arch}.${ext}
synopsis: 'LIVI - Linux In-Vehicle Infotainment'
appArmorProfile: assets/linux/livi.apparmor
afterInstall: assets/linux/after-install.sh
afterRemove: assets/linux/after-remove.sh
fpm:
- "assets/linux/dev.f-io.livi.metainfo.xml=/usr/share/metainfo/dev.f-io.livi.metainfo.xml"
depends:
- libgtk-3-0 | libgtk-3-0t64
- libnss3
- libxss1
- libxtst6
- xdg-utils
- libatspi2.0-0
- libuuid1
- libsecret-1-0
mac:
identity: '-'
notarize: false
hardenedRuntime: true
entitlements: assets/mac/entitlements.mac.plist
entitlementsInherit: assets/mac/entitlements.mac.inherit.plist
icon: icons/mac/livi.icns
category: public.app-category.utilities
extendInfo:
NSCameraUsageDescription: LIVI requires camera access for CarPlay.
NSMicrophoneUsageDescription: LIVI requires microphone access for voice control.
NSDocumentsFolderUsageDescription: LIVI requires access to documents.
NSDownloadsFolderUsageDescription: LIVI requires access to downloads.
extraResources:
- from: assets/gstreamer/macos-arm64
to: gstreamer/macos-arm64
filter:
- '**/*'
- '!**/*.a'
- '!share/**'
dmg:
artifactName: ${name}-${version}-macos-${arch}.${ext}
appImage:
artifactName: ${name}-${version}-linux-${arch}.${ext}
npmRebuild: false
copyright: 'Copyright © 2026 Lasse Heitgres'
publish: null
win:
target:
- target: nsis
arch:
- x64
icon: icons/win/livi.ico
executableName: LIVI
artifactName: ${name}-${version}-windows-${arch}.${ext}
extraResources:
- from: assets/gstreamer/windows-x64
to: gstreamer/windows-x64
filter:
- '**/*'
- '!**/*.a'
- '!share/**'
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
createStartMenuShortcut: true
toolsets:
appimage: '1.0.2'