From 7a5e5e6546563ab7db5cd3fdc4efb19b24cb70e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 4 Oct 2017 16:44:04 +0200 Subject: [PATCH 1/2] Added support for Windows dictionary WordWeb --- testData/solutions/win32.json5 | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/testData/solutions/win32.json5 b/testData/solutions/win32.json5 index 04137ac4f..2c5fbb4dc 100644 --- a/testData/solutions/win32.json5 +++ b/testData/solutions/win32.json5 @@ -2840,5 +2840,49 @@ "type": "gpii.deviceReporter.alwaysInstalled" } ] + }, + + "info.wordweb": { + "name": "WordWeb", + "contexts": { + "OS": [ + { + "id": "win32", + "version": ">=5.0" + } + ] + }, + "settingsHandlers": { + "configuration": { + "type": "gpii.settingsHandlers.noSettings" + } + }, + "start": [ + { + "type": "gpii.launch.exec", + "command": "\"C:\\Program Files (x86)\\WordWeb\\wweb32.exe\"" + } + ], + "stop": [ + { + "type": "gpii.windows.closeProcessByName", + "filename": "wweb32.exe" + } + ], + "isInstalled": [ + { + "type": "gpii.deviceReporter.registryKeyExists", + "hKey": "HKEY_CURRENT_USER", + "path": "Software\\WordWeb\\3", + "subPath": "Font Name", + "dataType": "REG_SZ" + } + ], + "isRunning": [ + { + "type": "gpii.processReporter.find", + "command": "wweb32" + } + ] } } From 7f1fa218fdc89d0d59c35310f9ec8828d1489311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 4 Oct 2017 16:45:12 +0200 Subject: [PATCH 2/2] Added new user John for testing the WordWeb dictionary feature --- testData/preferences/john.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testData/preferences/john.json diff --git a/testData/preferences/john.json b/testData/preferences/john.json new file mode 100644 index 000000000..0265a4e6e --- /dev/null +++ b/testData/preferences/john.json @@ -0,0 +1,12 @@ +{ + "flat": { + "contexts": { + "gpii-default": { + "name": "Default preferences", + "preferences": { + "http://registry.gpii.net/applications/info.wordweb": {} + } + } + } + } +} \ No newline at end of file