liseur-desktop/electron-builder.json
Chmouel Boudjnah f5b1c7291e feat: bundle and apply Literata font for reader typography
* Bundled the Literata variable font files and exposed them through a new custom
Electron protocol to ensure consistent offline long-form reading typography.
* Configured the reader engine and CSS theme to default to the new font family
with proper ligatures and an increased default font size.
* Centered the library wordmark and book-count pill together beside the artwork
in the top bar.

Signed-off-by: Chmouel Boudjnah <chmouel@chmouel.com>
2026-08-13 05:42:00 +02:00

82 lines
1.9 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "com.chmouel.liseur",
"productName": "Liseur",
"copyright": "Copyright \u00a9 Chmouel Boudjnah",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": ["out/**", "package.json"],
"extraResources": [
{
"from": "src/renderer/assets/fonts",
"to": "fonts"
}
],
"asar": true,
"compression": "maximum",
"removePackageScripts": true,
"removePackageKeywords": true,
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"linux": {
"target": [
{
"target": "AppImage",
"arch": ["x64", "arm64"]
},
{
"target": "deb",
"arch": ["x64", "arm64"]
},
{
"target": "tar.gz",
"arch": ["x64", "arm64"]
}
],
"category": "Office;Viewer;Literature",
"synopsis": "Snappy desktop EPUB reader",
"desktop": {
"entry": {
"MimeType": "application/epub+zip",
"Keywords": "epub;ebook;reader;books"
}
},
"executableName": "liseur",
"syncDesktopName": true
},
"deb": {
"depends": ["libgtk-3-0", "libnotify4", "libnss3", "libxss1", "libasound2t64"]
},
"mac": {
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
},
{
"target": "zip",
"arch": ["x64", "arm64"]
}
],
"category": "public.app-category.education",
"darkModeSupport": true,
"identity": null,
"extendInfo": {
"CFBundleDocumentTypes": [
{
"CFBundleTypeName": "EPUB book",
"CFBundleTypeRole": "Viewer",
"LSHandlerRank": "Alternate",
"LSItemContentTypes": ["org.idpf.epub-container"]
}
]
}
},
"dmg": {
"writeUpdateInfo": false
},
"win": {
"target": ["dir"]
}
}