132 lines
3.3 KiB
Plaintext
132 lines
3.3 KiB
Plaintext
{
|
|
"appId": "com.paarrot.app",
|
|
"productName": "Paarrot",
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"copyright": "Copyright © 2024",
|
|
"directories": {
|
|
"output": "dist-electron",
|
|
"buildResources": "build-resources"
|
|
},
|
|
"files": [
|
|
"electron/**/*",
|
|
"cinny/dist/**/*",
|
|
"!**/*.map",
|
|
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
|
|
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
|
|
"!**/node_modules/*.d.ts",
|
|
"!**/node_modules/.bin",
|
|
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
|
|
"!.editorconfig",
|
|
"!**/._*",
|
|
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
|
|
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
|
|
"!**/{appveyor.yml,.travis.yml,circle.yml}",
|
|
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "icons",
|
|
"to": "icons",
|
|
"filter": ["**/*"]
|
|
}
|
|
],
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "rpm",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"category": "Network;InstantMessaging",
|
|
"icon": "icons/icon.png",
|
|
"desktop": {
|
|
"Name": "Paarrot",
|
|
"GenericName": "Matrix Client",
|
|
"Comment": "A Matrix client built with Cinny",
|
|
"Categories": "Network;InstantMessaging;",
|
|
"Keywords": "matrix;chat;messaging;",
|
|
"StartupWMClass": "paarrot"
|
|
}
|
|
},
|
|
"appImage": {
|
|
"license": "AGPL-3.0",
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
},
|
|
"deb": {
|
|
"depends": [
|
|
"libnotify4",
|
|
"libxtst6",
|
|
"libnss3"
|
|
],
|
|
"afterInstall": "build-resources/linux/after-install.sh",
|
|
"afterRemove": "build-resources/linux/after-remove.sh"
|
|
},
|
|
"rpm": {
|
|
"depends": [
|
|
"libnotify",
|
|
"libXtst",
|
|
"nss"
|
|
],
|
|
"afterInstall": "build-resources/linux/after-install.sh",
|
|
"afterRemove": "build-resources/linux/after-remove.sh"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"icon": "icons/icon.ico",
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Paarrot"
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"category": "public.app-category.social-networking",
|
|
"icon": "icons/icon.icns",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "build-resources/entitlements.mac.plist",
|
|
"entitlementsInherit": "build-resources/entitlements.mac.plist"
|
|
},
|
|
"dmg": {
|
|
"sign": false,
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
|
|
},
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "litruv",
|
|
"repo": "cinny-desktop"
|
|
}
|
|
}
|