Folio/electron-builder.yml
avi 542a545c0d feat: spellcheck menu, typewriter mode, file associations, updater hardening
English spellcheck suggestions with Add-to-dictionary in the native context menu plus a Settings toggle. Typewriter caret-centering mode. OS file associations for .md/.txt and Open File wording. Updater: release URL surfaced, single progress listener, two-byte tarball check, installer wait guard. Search/installer test suites registered; chapter-list layout polish; ignore KDE .directory files.
2026-09-19 16:38:17 -05:00

59 lines
1.5 KiB
YAML

appId: io.atitlan.folio
productName: Folio
directories:
buildResources: build
output: releases
files:
- dist/**
- package.json
# Bundled so the packaged binary can be exercised in-place (FOLIO_SELF_TEST).
# It is inert during normal launches.
- tests/selftest-scenario.js
linux:
icon: build/icons
category: Office
maintainer: Folio Contributors
executableName: folio
syncDesktopName: true
desktop:
entry:
StartupWMClass: folio
target:
- AppImage
- deb
# OS file associations: double-click / "Open with Folio" on Markdown and
# plain-text files imports them as books (see folio:openPathOrImport and
# fileArgFrom in src/main/index.ts). Without this the desktop environment
# never offers Folio for .txt/.md files.
fileAssociations:
- ext:
- md
- markdown
name: Folio Markdown document
description: Markdown document opened as a Folio book
role: Editor
mimeType: text/markdown
- ext:
- txt
name: Folio text document
description: Plain-text document opened as a Folio book
role: Editor
mimeType: text/plain
# Debian package options live at the config root in electron-builder v26.
# Setting `depends` replaces the auto-generated list, so keep its entries and
# add what Electron links but the defaults omit — notably libasound2 (ALSA),
# which barebones desktop installs can lack.
deb:
depends:
- libgtk-3-0
- libnotify4
- libnss3
- libxss1
- libxtst6
- xdg-utils
- libatspi2.0-0
- libuuid1
- libsecret-1-0
- libasound2