The updater now resolves the newest non-draft desktop-v* release through the Gitea API at check time (J621_UPDATE_REPO, lowercase because the API path is case-sensitive), picks the platform's latest*.yml asset and uses that release as a generic electron-updater feed; J621_UPDATE_URL still overrides everything. Verified against the live API: release picked, yml fetched, artifact HEAD 200. electron-builder's publish.url is now metadata only (still needed so the build emits latest*.yml). Docs updated: CD release assets are the feed, the website /desktop/ feed only matters for installs before 0.1.2.
72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
appId: io.j621.desktop
|
|
productName: J621
|
|
copyright: Copyright (c) 2026 JakeBreath — Jake Labs Non-Commercial Software Licence
|
|
|
|
# Update feed: desktop/src/main.ts resolves the newest desktop-v* release on
|
|
# Gitea at check time (J621_UPDATE_REPO). This block only tells electron-builder
|
|
# to emit latest.yml/latest-linux.yml next to the installers; J621_UPDATE_URL
|
|
# overrides the feed for a fork or a test.
|
|
publish:
|
|
provider: generic
|
|
url: https://gitea.rainbow-herring.ts.net/JakeBreath/J621/releases
|
|
|
|
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/icons
|
|
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
|