feat: add Electron desktop app wrapper
This commit is contained in:
41
package.json
Normal file
41
package.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"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.5.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user