Files
LazyUpdateManager/package.json
Pepe44DEV bdd51a201a fix: Electron desktop app startup and add install script
- tryElectronApp() now finds the project directory via
  LAZY_UPDATE_MANAGER_DIR env, CWD, binary path, or $HOME
- Launches node_modules/.bin/electron directly instead of npm start
  (avoids recompiling the Go backend on every launch)
- Add install.sh with Electron fallback, desktop launcher, and
  prefer_electron config
- Desktop entry points to electron launcher for wofi support
- Update electron to v41.7.1
2026-05-27 03:16:40 +02:00

42 lines
1006 B
JSON

{
"name": "lazy-update-manager",
"version": "0.1.0",
"description": "Desktop update helper for Arch Linux and Hyprland.",
"main": "electron/main.cjs",
"type": "commonjs",
"scripts": {
"start": "npm run build:backend && electron .",
"build:backend": "go build -buildvcs=false -o bin/lazy-update-manager ./cmd/lazy-update-manager",
"dist": "npm run build:backend && electron-builder --linux AppImage,pacman,dir"
},
"keywords": [
"arch",
"hyprland",
"updates",
"electron"
],
"author": "",
"license": "MIT",
"devDependencies": {
"electron": "^41.7.1",
"electron-builder": "^26.0.0"
},
"build": {
"appId": "dev.lazyupdatemanager.app",
"productName": "LazyUpdateManager",
"files": [
"electron/**/*"
],
"extraResources": [
{
"from": "bin/lazy-update-manager",
"to": "bin/lazy-update-manager"
}
],
"linux": {
"category": "System",
"icon": "system-software-update"
}
}
}