chore: fix electron-builder and add package metadata

- Add Python with setuptools to devenv.nix for node-gyp compatibility
- Remove Tauri dependencies from devenv (replaced by Electron)
- Add author, homepage, license to package.json for electron-builder
- Simplify Linux target to AppImage only

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-01-30 10:31:47 -05:00
commit 55d963904c
2 changed files with 12 additions and 7 deletions

View file

@ -2,6 +2,12 @@
"name": "@lamassu/machine", "name": "@lamassu/machine",
"version": "0.1.0", "version": "0.1.0",
"description": "Electron ATM kiosk application with Vue 3 UI", "description": "Electron ATM kiosk application with Vue 3 UI",
"author": {
"name": "AIO Labs",
"email": "dev@aiolabs.dev"
},
"homepage": "https://aiolabs.dev",
"license": "AGPL-3.0",
"type": "module", "type": "module",
"main": "dist-electron/main.js", "main": "dist-electron/main.js",
"scripts": { "scripts": {
@ -57,8 +63,7 @@
], ],
"linux": { "linux": {
"target": [ "target": [
"AppImage", "AppImage"
"deb"
], ],
"category": "Finance" "category": "Finance"
} }

View file

@ -33,11 +33,11 @@
openssl openssl
openssl.dev openssl.dev
# Tauri dependencies (Linux) # Electron dependencies (Linux)
gtk3 # electron # Use npm-installed electron instead
webkitgtk_4_1
libappindicator-gtk3 # Python for node-gyp (native module builds)
librsvg (python3.withPackages (ps: [ ps.setuptools ]))
# Hardware access # Hardware access
libusb1 libusb1