Use cdn endpoint for auto update (#1538)

This will make electron-updater use the cdn-fronted updates.signal.org instead
of the s3 endpoint. You can verify it worked by looking at the url generated in
dist/latest-mac.json and dist/win-unpacked/resources/app-update.yml

// FREEBIE
This commit is contained in:
Lilia 2017-10-04 23:04:52 +02:00 committed by Scott Nonnenberg
parent fb674529f4
commit 8ec63e70d8

View file

@ -59,13 +59,19 @@
"mac": {
"category": "public.app-category.social-networking",
"icon": "build/icons/mac/icon.icns",
"publish": {
"provider": "s3",
"region": "us-east-1",
"bucket": "updates.signal.org",
"path": "desktop",
"acl": "public-read"
},
"publish": [
{
"provider": "generic",
"url": "https://updates.signal.org/desktop"
},
{
"provider": "s3",
"region": "us-east-1",
"bucket": "updates.signal.org",
"path": "desktop",
"acl": "public-read"
}
],
"target": [
"dmg",
"zip"
@ -77,13 +83,19 @@
"artifactName": "${productName}-Setup_${version}.${ext}",
"certificateSubjectName": "Signal",
"icon": "build/icons/win/icon.ico",
"publish": {
"provider": "s3",
"region": "us-east-1",
"bucket": "updates.signal.org",
"path": "desktop",
"acl": "public-read"
},
"publish": [
{
"provider": "generic",
"url": "https://updates.signal.org/desktop"
},
{
"provider": "s3",
"region": "us-east-1",
"bucket": "updates.signal.org",
"path": "desktop",
"acl": "public-read"
}
],
"target": [
"nsis",
"zip"