Skip to content

Commit e668992

Browse files
committed
ADAP-142: more changes for docking example
1 parent 4b5fbb9 commit e668992

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
51 Bytes
Binary file not shown.

src/main/java/com/openfin/desktop/demo/LayoutServiceDemo.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ void launchOpenfin() throws DesktopException, DesktopIOException, IOException, I
129129
if (rvm != null) {
130130
config.setLaunchRVMPath(rvm);
131131
}
132-
config.setRuntimeVersion("stable");
132+
String desktopVersion = java.lang.System.getProperty("com.openfin.demo.version");
133+
if (desktopVersion == null) {
134+
desktopVersion = "stable";
135+
}
136+
config.setRuntimeVersion(desktopVersion);
133137
config.setAdditionalRuntimeArguments("--v=1 --remote-debugging-port=9090 ");
134138
serviceConfig = new JSONArray();
135139
JSONObject layout = new JSONObject();

0 commit comments

Comments
 (0)