Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'self-hosting-example/public/runtime/' filter=lfs diff=lfs merge=lfs -text
'self-hosting-example/public/runtime/*' filter=lfs diff=lfs merge=lfs -text
26 changes: 13 additions & 13 deletions self-hosting-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
### Directory Structure

/
    runtimeVersions *(static file containing hosted runtimes)*
    /rvm
        latestVersion *(static file containing latest RVM Version)*
        latest *(latest RVM)*
        latest *(latest RVM - 8.1.0.4)*
    /runtime
        7.53.23.23 *(runtime)*
        8.56.24.41
        8.56.26.40
        stable *(static file containing corresponding runtime version)*
        beta
        27.104.71.17 *(runtime)*
        27.104.71.21 *(static file containing corresponding runtime version)*

This is the structure of the `public` directory, which mirrors the OpenFin [CDN](http://cdn.openfin.co/versions/).

Expand All @@ -31,13 +27,17 @@ To deploy your own, simply copy the public directory (or its structure) and host

## Step 2: Point To Your Assets

Overwrite all applications in the Window registry
`HKEY_CURRENT_USER -> SOFTWARE -> OpenFin -> RVM -> Settings`
`Name: assetsUrl`
`Type: REG_SZ`
`Data: http://assetServerUrl`
`Set a desktop owner settings file in your registry to point to a assetsUrl` - https://developers.openfin.co/of-docs/docs/desktop-owner-settings
`Path: HKEY_LOCAL_MACHINE\Software\OpenFin\RVM\Settings\`
`Type: REG_SZ (String value)`
`Name: DesktopOwnerSettings`
`Data: https://example.com/company/files/end-user-desktop-owner-settings.json`

Where http://assetServerUrl is the url of your hosted assets e.g. http://localhost:5555/ for this sample.
Example DOS:


"desktopSettings": {
"assetsUrl": "http://localhost:5555/",

## Demo

Expand Down
2 changes: 1 addition & 1 deletion self-hosting-example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"runtime": {
"arguments": "",
"version": "14.78.48.16"
"version": "27.104.71.21"
},
"shortcut": {
"company": "OpenFin",
Expand Down
3 changes: 3 additions & 0 deletions self-hosting-example/public/runtime/.gitattributes
Git LFS file not shown
Binary file removed self-hosting-example/public/runtime/14.78.48.15
Binary file not shown.
Binary file removed self-hosting-example/public/runtime/14.78.48.16
Binary file not shown.
3 changes: 0 additions & 3 deletions self-hosting-example/public/runtimeVersions

This file was deleted.

Binary file modified self-hosting-example/public/rvm/latest
Binary file not shown.
2 changes: 1 addition & 1 deletion self-hosting-example/public/rvm/latestVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.5.0.28
8.1.0.4