lbry-desktop/electron-builder.json
Thomas Zarebczan b838dd4b95 Chore: bump SDK, builder, travis
This will also support differential updates on Windows. Tested and working successfully, but would like to go through a final round during RC testing. On Mac, it falls back to default download. I think that's only supposed on nsis-web for Mac, something we can muck around with another time. Node v10 is required for electron-builder dependencies.
2019-03-20 15:30:00 -04:00

98 lines
1.8 KiB
JSON

{
"appId": "io.lbry.LBRY",
"productName": "LBRY",
"directories": {
"output": "dist/electron"
},
"files": [
{
"from": "dist/electron/ui",
"to": "./",
"filter": ["!dist/!electron/ui/**/*"]
},
{
"from": "dist/electron/webpack",
"to": "./",
"filter": ["!dist/!electron/!webpack/*.js", "!dist/!electron/!webpack/!static/**/*"]
},
{
"from": "dist/electron/static",
"to": "./",
"filter": ["!dist/!electron/!static/index.html"]
}
],
"publish": [
{
"provider": "s3",
"bucket": "build.lbry.io",
"path": "app/release",
"region": "us-east-1"
},
"github"
],
"mac": {
"category": "public.app-category.entertainment"
},
"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": "deb",
"executableName": "LBRY",
"category": "AudioVideo;Video",
"desktop": {
"MimeType": "x-scheme-handler/lbry"
}
},
"deb": {
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"libsecret-1-0"
]
},
"nsis": {
"perMachine": true,
"createDesktopShortcut": "always",
"differentialPackage": true
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32"]
}
]
},
"artifactName": "${productName}_${version}.${ext}"
}