feat: add Electron desktop app wrapper
This commit is contained in:
8
Makefile
8
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user