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:
parent
fb674529f4
commit
8ec63e70d8
1 changed files with 26 additions and 14 deletions
40
package.json
40
package.json
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue