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..8f13340 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 +        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/). @@ -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..a857949 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": "27.104.71.21" }, "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..79e0adb --- /dev/null +++ b/self-hosting-example/public/runtime/.gitattributes @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da82a15e13b7163aef0def74f6e4e6fc5d1531269562e557084403ff032e62fb +size 39 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/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