Skip to content

Commit c77b015

Browse files
Merge pull request #3 from built-on-openfin/dev/dhilan
Dev/dhilan
2 parents 35a7aea + 1687249 commit c77b015

File tree

9 files changed

+20
-18
lines changed

9 files changed

+20
-18
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
'self-hosting-example/public/runtime/' filter=lfs diff=lfs merge=lfs -text
2+
'self-hosting-example/public/runtime/*' filter=lfs diff=lfs merge=lfs -text

self-hosting-example/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@
33
### Directory Structure
44

55
/
6-
    runtimeVersions *(static file containing hosted runtimes)*
76
    /rvm
87
        latestVersion *(static file containing latest RVM Version)*
9-
        latest *(latest RVM)*
8+
        latest *(latest RVM - 8.1.0.4)*
109
    /runtime
11-
        7.53.23.23 *(runtime)*
12-
        8.56.24.41
13-
        8.56.26.40
14-
        stable *(static file containing corresponding runtime version)*
15-
        beta
10+
        27.104.71.17 *(runtime)*
11+
        27.104.71.21 *(static file containing corresponding runtime version)*
1612

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

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

3228
## Step 2: Point To Your Assets
3329

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

40-
Where http://assetServerUrl is the url of your hosted assets e.g. http://localhost:5555/ for this sample.
36+
Example DOS:
37+
38+
39+
"desktopSettings": {
40+
"assetsUrl": "http://localhost:5555/",
4141

4242
## Demo
4343

self-hosting-example/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"runtime": {
1111
"arguments": "",
12-
"version": "14.78.48.16"
12+
"version": "27.104.71.21"
1313
},
1414
"shortcut": {
1515
"company": "OpenFin",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:da82a15e13b7163aef0def74f6e4e6fc5d1531269562e557084403ff032e62fb
3+
size 39
-93.3 MB
Binary file not shown.
-93.3 MB
Binary file not shown.

self-hosting-example/public/runtimeVersions

Lines changed: 0 additions & 3 deletions
This file was deleted.
453 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.5.0.28
1+
8.1.0.4

0 commit comments

Comments
 (0)