electron-builder produces j621-desktop_*_amd64.deb, j621-desktop-*.pkg.tar.zst (zstd, lean Arch dependencies instead of the Electron 2 era default set) and a per-user NSIS installer cross-built with wine. The launcher entry and Electron's desktopName now agree on io.j621.desktop so window association works, and package metadata points at the repository homepage and the non-commercial licence.
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
appId: io.j621.desktop
|
|
productName: J621
|
|
copyright: Copyright (c) 2026 JakeBreath — Jake Labs Non-Commercial Software Licence
|
|
|
|
directories:
|
|
output: release
|
|
buildResources: build
|
|
|
|
# The Electron main process and preload live in dist/ (tsc output). The SPA is
|
|
# copied from the web build as an extra resource and served over app://j621.
|
|
files:
|
|
- dist/**
|
|
- package.json
|
|
|
|
extraResources:
|
|
- from: ../frontend/dist
|
|
to: dist
|
|
filter:
|
|
- "**/*"
|
|
|
|
linux:
|
|
target:
|
|
- deb
|
|
- pacman
|
|
category: AudioVideo
|
|
synopsis: Desktop client for the J621 self-hosted media archive
|
|
description: >-
|
|
J621 is a self-hosted browser for an e621-linked media library. This
|
|
desktop build talks to a J621 backend over the network, the same way the
|
|
web app does.
|
|
icon: build/icon.png
|
|
syncDesktopName: true
|
|
|
|
pacman:
|
|
compression: zstd
|
|
artifactName: ${name}-${version}.pkg.tar.zst
|
|
# Electron's shared-library requirements on Arch (the electron-builder
|
|
# defaults still list an ancient Electron 2 dependency set).
|
|
depends:
|
|
- gtk3
|
|
- nss
|
|
- libxss
|
|
- libxtst
|
|
- xdg-utils
|
|
- at-spi2-core
|
|
- libsecret
|
|
- libnotify
|
|
- alsa-lib
|
|
- libcups
|
|
- libdrm
|
|
- mesa
|
|
- libxkbcommon
|
|
|
|
win:
|
|
target:
|
|
- nsis
|
|
icon: build/icon.ico
|
|
|
|
nsis:
|
|
oneClick: false
|
|
perMachine: false
|
|
allowToChangeInstallationDirectory: true
|
|
shortcutName: J621
|