diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..46fedaf --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/self-hosting-example/README.md b/self-hosting-example/README.md index 99c600d..603ce54 100644 --- a/self-hosting-example/README.md +++ b/self-hosting-example/README.md @@ -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 +        29.108.73.14 *(runtime)* +        28.106.72.17 *(static file containing corresponding runtime version)* This is the structure of the `public` directory, which mirrors the OpenFin [CDN](http://cdn.openfin.co/versions/). @@ -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 diff --git a/self-hosting-example/app.json b/self-hosting-example/app.json index 6445702..61cf74c 100644 --- a/self-hosting-example/app.json +++ b/self-hosting-example/app.json @@ -9,7 +9,7 @@ }, "runtime": { "arguments": "", - "version": "14.78.48.16" + "version": "29.108.73.14" }, "shortcut": { "company": "OpenFin", diff --git a/self-hosting-example/public/runtime/.gitattributes b/self-hosting-example/public/runtime/.gitattributes new file mode 100644 index 0000000..89ee7cf --- /dev/null +++ b/self-hosting-example/public/runtime/.gitattributes @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7107d8ab7cfb7e1aa18424216db6ec20dc0660e1fc054d4dc0df4992e3e1b70d +size 169 diff --git a/self-hosting-example/public/runtime/14.78.48.15 b/self-hosting-example/public/runtime/14.78.48.15 deleted file mode 100644 index c14deed..0000000 Binary files a/self-hosting-example/public/runtime/14.78.48.15 and /dev/null differ diff --git a/self-hosting-example/public/runtime/14.78.48.16 b/self-hosting-example/public/runtime/14.78.48.16 deleted file mode 100644 index 6ae99dd..0000000 Binary files a/self-hosting-example/public/runtime/14.78.48.16 and /dev/null differ diff --git a/self-hosting-example/public/runtime/28.106.72.17 b/self-hosting-example/public/runtime/28.106.72.17 new file mode 100644 index 0000000..ac54d69 --- /dev/null +++ b/self-hosting-example/public/runtime/28.106.72.17 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d5a37729852cc381f0e5866e2b1a9ca20a7adf5173212558d1cb10b01eec8eb +size 120846579 diff --git a/self-hosting-example/public/runtime/29.108.73.14 b/self-hosting-example/public/runtime/29.108.73.14 new file mode 100644 index 0000000..4de7d43 --- /dev/null +++ b/self-hosting-example/public/runtime/29.108.73.14 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53473bf4a497fb362e80669013ff46a2565a5726a21cf7627c8f5e20a6f667d6 +size 122450005 diff --git a/self-hosting-example/public/runtimeVersions b/self-hosting-example/public/runtimeVersions deleted file mode 100644 index 37e82f4..0000000 --- a/self-hosting-example/public/runtimeVersions +++ /dev/null @@ -1,3 +0,0 @@ -7.53.23.23 -8.56.24.41 -8.56.26.40 \ No newline at end of file diff --git a/self-hosting-example/public/rvm/latest b/self-hosting-example/public/rvm/latest index 39d599c..7868baa 100644 Binary files a/self-hosting-example/public/rvm/latest and b/self-hosting-example/public/rvm/latest differ diff --git a/self-hosting-example/public/rvm/latestVersion b/self-hosting-example/public/rvm/latestVersion index 6d32169..de987d7 100644 --- a/self-hosting-example/public/rvm/latestVersion +++ b/self-hosting-example/public/rvm/latestVersion @@ -1 +1 @@ -5.5.0.28 \ No newline at end of file +8.1.0.4