From 55d963904cf38ce8ff1ee7d4e454b0284e8139f2 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Fri, 30 Jan 2026 10:31:47 -0500 Subject: [PATCH] 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 --- lamassu-next/apps/machine/package.json | 9 +++++++-- lamassu-next/devenv.nix | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lamassu-next/apps/machine/package.json b/lamassu-next/apps/machine/package.json index 10bd93c..11dbd10 100644 --- a/lamassu-next/apps/machine/package.json +++ b/lamassu-next/apps/machine/package.json @@ -2,6 +2,12 @@ "name": "@lamassu/machine", "version": "0.1.0", "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", "main": "dist-electron/main.js", "scripts": { @@ -57,8 +63,7 @@ ], "linux": { "target": [ - "AppImage", - "deb" + "AppImage" ], "category": "Finance" } diff --git a/lamassu-next/devenv.nix b/lamassu-next/devenv.nix index e39994f..c33df36 100644 --- a/lamassu-next/devenv.nix +++ b/lamassu-next/devenv.nix @@ -33,11 +33,11 @@ openssl openssl.dev - # Tauri dependencies (Linux) - gtk3 - webkitgtk_4_1 - libappindicator-gtk3 - librsvg + # Electron dependencies (Linux) + # electron # Use npm-installed electron instead + + # Python for node-gyp (native module builds) + (python3.withPackages (ps: [ ps.setuptools ])) # Hardware access libusb1