forked from jsnbuchanan/crowd-funder-for-time-pwa
- Updated electron-builder.config.json with proper TimeSafari metadata - Added Linux package support (AppImage, deb, rpm) - Created build-packages.sh script for easy package building - Added npm scripts for building from project root - Created comprehensive README-BUILDING.md documentation - Fixed package.json metadata (author, homepage, repository) - Added maintainer information for Linux packages Features: - AppImage: Portable, no installation required (~145MB) - Debian package: System integration via package manager (~96MB) - RPM package: Support for RPM-based distributions - Build scripts support individual or all package types Usage: - npm run electron:build (all packages) - npm run electron:build:appimage (AppImage only) - npm run electron:build:deb (Debian package only) - cd electron && ./build-packages.sh [type]
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"appId": "app.timesafari.desktop",
|
|
"productName": "TimeSafari",
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"output": "dist"
|
|
},
|
|
"files": [
|
|
"assets/**/*",
|
|
"build/**/*",
|
|
"capacitor.config.*",
|
|
"app/**/*"
|
|
],
|
|
"publish": {
|
|
"provider": "github"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "rpm",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"icon": "assets/appIcon.png",
|
|
"category": "Office",
|
|
"description": "Time Safari - Community building through gifts, gratitude, and collaborative projects",
|
|
"maintainer": "Matthew Raymer <matthew@timesafari.app>",
|
|
"vendor": "TimeSafari"
|
|
},
|
|
"nsis": {
|
|
"allowElevation": true,
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"icon": "assets/appIcon.ico"
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"icon": "assets/appIcon.png"
|
|
}
|
|
} |