feat: add Electron desktop app wrapper

This commit is contained in:
2026-05-03 22:48:17 +02:00
parent 653ff6d298
commit a22d2e16ea
5 changed files with 4223 additions and 1 deletions

View File

@@ -1,11 +1,17 @@
BINARY := lazy-update-manager
PREFIX ?= $(HOME)/.local
.PHONY: build install install-user-service enable-user-service test fmt clean
.PHONY: build desktop desktop-dist install install-user-service enable-user-service test fmt clean
build:
go build -buildvcs=false -o bin/$(BINARY) ./cmd/lazy-update-manager
desktop:
npm run start
desktop-dist:
npm run dist
install: build
install -Dm755 bin/$(BINARY) $(PREFIX)/bin/$(BINARY)
install -Dm644 systemd/lazy-update-manager.desktop $(PREFIX)/share/applications/lazy-update-manager.desktop