} else if (opId.equals("is-ready")) {
// The platform needs to know when it can call open-url, and it
// determines this by the is-ready function
return mainWindow.isReady();
} else if (opId.equals("is-version-ge")) {
if (decodedMap.containsKey("version")) {
String id = MapUtils.getMapString(decodedMap, "id", "client");
String version = MapUtils.getMapString(decodedMap, "version", "");
if (id.equals("client")) {
return org.gudy.azureus2.core3.util.Constants.compareVersions(
org.gudy.azureus2.core3.util.Constants.AZUREUS_VERSION,