f065218ff4
* Prevent .deb packages from being opened with archive manager. * Allow to properly cancel download upgrade and prevent multiple downloads. * Fix missing app-update.yml file for .deb builds. * Small fix for allowPrerelease prop in autoUpdater. * Use release/tags endpoint to get the release details. * Handle error case for auto updater. * Make install now button display the upgrade modal. * Use GitHub as provider for manual update url. * Small fixes in updater. * Fix small lint errors. * Properly handle auto download on/off.
105 lines
2 KiB
JSON
105 lines
2 KiB
JSON
{
|
|
"appId": "io.lbry.LBRY",
|
|
"productName": "LBRY",
|
|
"directories": {
|
|
"output": "dist/electron"
|
|
},
|
|
"files": [
|
|
{
|
|
"from": "dist/electron/webpack",
|
|
"to": "./"
|
|
},
|
|
{
|
|
"from": "dist/electron/static",
|
|
"to": "./"
|
|
}
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "./static/daemon/",
|
|
"to": "static/daemon/",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "./static/img",
|
|
"to": "static/img",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "./static/font",
|
|
"to": "static/font",
|
|
"filter": ["**/*"]
|
|
},
|
|
{
|
|
"from": "./static/app-update.yml",
|
|
"to": "app-update.yml"
|
|
}
|
|
],
|
|
"publish": [
|
|
{
|
|
"provider": "github"
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.entertainment",
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist",
|
|
"hardenedRuntime" : true,
|
|
"gatekeeperAssess": false
|
|
},
|
|
"dmg": {
|
|
"iconSize": 128,
|
|
"contents": [
|
|
{
|
|
"x": 115,
|
|
"y": 164
|
|
},
|
|
{
|
|
"x": 387,
|
|
"y": 164,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"window": {
|
|
"x": 200,
|
|
"y": 200,
|
|
"width": 500,
|
|
"height": 300
|
|
},
|
|
"background": "./build/background.png"
|
|
},
|
|
"protocols": [
|
|
{
|
|
"name": "LBRY URI",
|
|
"schemes": ["lbry"],
|
|
"role": "Viewer"
|
|
}
|
|
],
|
|
"linux": {
|
|
"target": ["AppImage", "deb"],
|
|
"executableName": "lbry",
|
|
"category": "AudioVideo;Video",
|
|
"desktop": {
|
|
"MimeType": "x-scheme-handler/lbry"
|
|
}
|
|
},
|
|
"deb": {
|
|
"depends": ["gconf2", "gconf-service", "libnotify4", "libxtst6", "libnss3"]
|
|
},
|
|
"nsis": {
|
|
"perMachine": true,
|
|
"createDesktopShortcut": "always",
|
|
"differentialPackage": true
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
}
|
|
]
|
|
},
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"afterSign": "./build/afterSignHook.js"
|
|
}
|