Skip to content

Commit

Permalink
Set NSAllowsArbitraryLoads to true
Browse files Browse the repository at this point in the history
Might fix auto-update issue
(see electron-userland/electron-builder#3377)
  • Loading branch information
ebma committed Feb 19, 2020
1 parent dda5afc commit 2a3afc8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
"homepage": "https://solarwallet.io/",
"repository": "github:satoshipay/solar",
"main": "./electron/lib/index.prod.js",
"mac": {
"type": "distribution",
"extendInfo": {
"NSAppTransportSecurity": {
"NSAllowsArbitraryLoads": true
}
},
"target": [
"zip"
]
},
"scripts": {
"precommit": "lint-staged",
"lint:fix": "tslint --fix '{src,stories}/**/*.{ts,tsx}'",
Expand Down

0 comments on commit 2a3afc8

Please sign in to comment.