-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
73 lines (73 loc) · 2.71 KB
/
Copy pathelectron-builder.yml
File metadata and controls
73 lines (73 loc) · 2.71 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
appId: com.filesmith.app
productName: Filesmith
directories:
buildResources: build
output: dist
# An ALLOWLIST, not a denylist: the old exclude list named eslint.config.js
# (the repo has .mjs) and missed vitest.config.ts, so stray dev files rode
# into app.asar — and every new top-level file would too. Only the built app
# belongs in the archive; resources/ ships via extraResources below.
files:
- 'out/**/*'
- 'package.json'
# Bundled core CLI tools (ffmpeg, ImageMagick, mutool, CaesiumCLT) ship in
# resources/bin; LibreOffice (document conversion) ships in resources/libreoffice.
# Both are populated by scripts/fetch-binaries.mjs before packaging.
extraResources:
# The built-in model registry (layer 1). Data, not code: it defines which model
# families exist, and ships in the installer so a fully offline install has a
# complete catalog. The user's own layer lives in %APPDATA%/Filesmith/registry.
- from: resources/registry
to: registry
filter: ['**/*.json']
- from: resources/bin
to: bin
filter: ['**/*']
- from: resources/libreoffice
to: libreoffice
filter: ['**/*']
- from: resources/ghostscript
to: ghostscript
filter: ['**/*']
- from: resources/realesrgan
to: realesrgan
filter: ['**/*']
# PiD (NVIDIA) upscaler sidecar script. The heavy torch env + weights are
# downloaded on first use to userData; only this launcher ships in the app.
- from: resources/pid
to: pid
filter: ['**/*']
# spandrel upscale sidecar (ComfyUI-imported models). Runs in the shared PiD
# torch env; only this launcher ships in the app.
- from: resources/spandrel
to: spandrel
filter: ['**/*']
# The command line's shims and PATH editor (spec 7.1). Only this folder goes on
# PATH. The shims run Filesmith.exe with ELECTRON_RUN_AS_NODE, so the
# runAsNode Electron fuse must stay enabled: never add electronFuses.runAsNode
# false (the release smoke test fails if it is).
- from: resources/cli
to: cli
filter: ['**/*']
# The Claude Code skill, copied out by `filesmith skill install` and the
# Settings button (spec 6). Never installed silently.
- from: resources/skill
to: skill
filter: ['**/*']
win:
target:
- nsis
artifactName: ${productName}-Setup-${arch}-${version}.${ext}
nsis:
oneClick: false
perMachine: false
# Setup draws its own directory page (build/installer/pages.nsh), so MUI's is
# off. allowElevation off keeps it per-user, the only mode Filesmith has.
allowToChangeInstallationDirectory: false
allowElevation: false
include: build/installer.nsh
installerIcon: build/icon.ico
uninstallerIcon: build/icon.ico
installerHeaderIcon: build/icon.ico
createDesktopShortcut: false
createStartMenuShortcut: true