Skip to content

Commit

Permalink
Added expero demo key and snap asset path.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Jan 27, 2024
1 parent 0fe0557 commit 46b51f8
Show file tree
Hide file tree
Showing 18 changed files with 654 additions and 429 deletions.
2 changes: 1 addition & 1 deletion how-to/integrate-with-snap-basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This example demonstrates connecting to and using layouts with Snap.

The package utilized by this example is [@openfin/snap-sdk](https://www.npmjs.com/package/@openfin/snap-sdk).

> The **@openfin/snap-sdk** is currently in beta, this sample requires the Snap Asset Url for the Snap Server. Please ask OpenFin for the url and then replace the `SNAP_ASSET_URL` in `manifest.fin.json` with it.
> The **@openfin/snap-sdk** is currently in beta. The version of the Snap SDK is referenced in package.json and the app asset defined in manifest.fin.json.
## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion how-to/integrate-with-snap-basic/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"appAssets": [
{
"src": "SNAP_ASSET_URL",
"src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip",
"alias": "openfin-snap",
"version": "0.2.0",
"target": "OpenFinSnap.exe",
Expand Down
2 changes: 1 addition & 1 deletion how-to/integrate-with-snap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This example demonstrates saving and restoring native applications as part of a

The package utilized by this example is [@openfin/snap-sdk](https://www.npmjs.com/package/@openfin/snap-sdk).

> The **@openfin/snap-sdk** is currently in beta, this sample requires the Snap Asset Url for the Snap Server. Please ask OpenFin for the url and then replace the `SNAP_ASSET_URL` in `manifest.fin.json` with it.
> The **@openfin/snap-sdk** is currently in beta. The version of the Snap SDK is referenced in package.json and the app asset defined in manifest.fin.json.
## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion how-to/integrate-with-snap/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"appAssets": [
{
"src": "SNAP_ASSET_URL",
"src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip",
"alias": "openfin-snap",
"version": "0.2.0",
"target": "OpenFinSnap.exe",
Expand Down
3 changes: 3 additions & 0 deletions how-to/register-with-home/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"icon": "http://localhost:8080/favicon.ico",
"queryMinLength": 3,
"queryAgainst": ["title"]
},
"keys": {
"expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53"
}
}
}
3 changes: 3 additions & 0 deletions how-to/register-with-store/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@
}
]
}
},
"keys": {
"expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53"
}
}
}
3 changes: 1 addition & 2 deletions how-to/workspace-platform-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"author": "[email protected]",
"contributors": [
"[email protected]",
"[email protected]",
"[email protected]"
"[email protected]"
],
"license": "SEE LICENSE IN LICENSE.MD",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
}
}
]
},
"keys": {
"expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53"
}
}
}
5 changes: 4 additions & 1 deletion how-to/workspace-platform-starter/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@
"enabled": false,
"id": "workspace-platform-starter",
"serverAssetInfo": {
"src": "SNAP_ASSET_URL",
"src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip",
"alias": "openfin-snap",
"version": "0.2.0",
"target": "OpenFinSnap.exe"
Expand Down Expand Up @@ -1792,6 +1792,9 @@
},
"dialogProvider": {
"dialogHtml": "http://localhost:8080/common/popups/dialog/index.html"
},
"keys": {
"expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@
"enabled": false,
"id": "workspace-platform-starter",
"serverAssetInfo": {
"src": "SNAP_ASSET_URL",
"src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip",
"alias": "openfin-snap",
"version": "0.2.0",
"target": "OpenFinSnap.exe"
Expand Down
Loading

0 comments on commit 46b51f8

Please sign in to comment.