Files
J621/desktop/package.json
T
JakeBreath 7c39383655 Wire desktop updates through a generic feed
electron-builder now publishes latest-linux.yml / latest.yml and embeds
app-update.yml plus package-type, so electron-updater runs pacman -U or
dpkg -i through pkexec for packages and updates the per-user NSIS install
without elevation. The app checks only when asked (menu item), asks before
downloading and before installing, and J621_UPDATE_URL overrides the feed
for tests or forks.

deploy/push_desktop.sh builds and publishes the artifacts to
deploy/data/desktop, which the frontend nginx mounts read-only at
/desktop/. Verified detection and up-to-date handling against a local feed
with the packaged Arch build.
2026-09-20 17:32:41 -05:00

36 lines
1.2 KiB
JSON

{
"name": "j621-desktop",
"productName": "J621",
"version": "0.1.0",
"private": true,
"description": "Desktop shell for the J621 self-hosted media archive",
"author": {
"name": "JakeBreath",
"email": "tolozacdcmo@gmail.com"
},
"homepage": "https://gitea.rainbow-herring.ts.net/JakeBreath/J621",
"license": "LicenseRef-Jake-Labs-Non-Commercial",
"desktopName": "io.j621.desktop",
"main": "dist/main.js",
"scripts": {
"build:main": "tsc -p tsconfig.json",
"build:renderer": "npm --prefix ../frontend run build",
"build": "npm run build:main && npm run build:renderer",
"dev": "npm run build:main && J621_DEV_SERVER=http://localhost:5173 electron .",
"start": "npm run build && electron .",
"smoke": "npm run build && xvfb-run -a electron . --j621-smoke",
"dist:linux": "npm run build && electron-builder --linux",
"dist:win": "npm run build && electron-builder --win",
"dist:all": "npm run build && electron-builder --linux --win"
},
"devDependencies": {
"@types/node": "^24.13.6",
"electron": "^44.4.3",
"electron-builder": "^26.15.3",
"typescript": "^6.0.3"
},
"dependencies": {
"electron-updater": "^6.8.9"
}
}