Skip to content

Commit

Permalink
Restore snap manifest security settings and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Oct 11, 2024
1 parent 223b98b commit 9436d88
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
18 changes: 12 additions & 6 deletions how-to/integrate-with-snap-basic/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@
"preventQuitOnLastWindowClosed": true,
"permissions": {
"System": {
"launchExternalProcess": true,
"terminateExternalProcess": true,
"downloadAsset": true,
"openUrlWithBrowser": {
"launchExternalProcess": {
"enabled": true,
"protocols": ["mailto", "msteams", "tel"]
}
"assets": {
"enabled": true
},
"downloads": {
"enabled": false
},
"executables": {
"enabled": true
}
},
"downloadAsset": true
}
}
},
Expand Down
18 changes: 12 additions & 6 deletions how-to/integrate-with-snap/public/second.manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@
"preloadScripts": [{ "url": "http://localhost:8080/js/snap.preload.bundle.js" }],
"permissions": {
"System": {
"launchExternalProcess": true,
"terminateExternalProcess": true,
"downloadAsset": true,
"openUrlWithBrowser": {
"launchExternalProcess": {
"enabled": true,
"protocols": ["mailto", "msteams", "tel"]
}
"assets": {
"enabled": true
},
"downloads": {
"enabled": false
},
"executables": {
"enabled": true
}
},
"downloadAsset": true
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions how-to/migrate-from-a-previous-version/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,16 +204,16 @@ You will need the following dependencies

```javascript
"dependencies": {
"@openfin/workspace": "^12.1.5",
"@openfin/workspace-platform": "^12.1.5"
"@openfin/workspace": "^12.6.0",
"@openfin/workspace-platform": "^12.6.0"
}
```

You should update your dev dependencies

```javascript
"devDependencies": {
"@openfin/core": "38.83.79"
"@openfin/core": "30.74.16"
}
```

Expand Down

0 comments on commit 9436d88

Please sign in to comment.