-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
49 lines (49 loc) · 1.5 KB
/
Copy pathelectron-builder.yml
File metadata and controls
49 lines (49 loc) · 1.5 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
appId: io.masel.mongobench
productName: MongoBench
directories:
output: dist
buildResources: build
# Bundle only the runtime artifacts produced by electron-vite plus the
# package.json metadata. Source TypeScript and dev configs stay out.
files:
- 'out/**/*'
- 'package.json'
- '!**/.DS_Store'
- '!**/*.map'
# Ship the icon into the packaged app's resources/ folder so the main
# process can set BrowserWindow.icon at runtime via process.resourcesPath.
extraResources:
- from: build/icon.png
to: icon.png
# `asar` is enabled by default; kept implicit. node-gyp / native deps
# would need `asarUnpack` here — currently none.
extraMetadata:
main: out/main/index.js
win:
# NSIS installer (per-user, no admin) — this is what lets a user-accepted
# update replace the install without a UAC prompt. User picks install dir.
target:
- target: nsis
arch:
- x64
artifactName: ${productName}-Setup-${version}-${arch}.${ext}
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
allowElevation: false
deleteAppDataOnUninstall: false
linux:
# AppImage carries the metadata the in-app update flow needs on Linux.
target:
- target: AppImage
arch:
- x64
category: Development
artifactName: ${productName}-${version}-${arch}.${ext}
# Builds are unsigned — first launch on Windows shows SmartScreen
# (More info → Run anyway). Acceptable for personal-use distribution.
publish:
provider: github
owner: ByteExceptionM
repo: MongoBench