-
Notifications
You must be signed in to change notification settings - Fork 39
/
index.js
61 lines (49 loc) · 2.02 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*!
GPII Universal Personalization Framework GPII Windows Index
Copyright 2014 Lucendo Development Ltd.
Licensed under the New BSD license. You may not use this file except in
compliance with this License.
The research leading to these results has received funding from the European Union's
Seventh Framework Programme (FP7/2007-2013) under grant agreement no. 289016.
You may obtain a copy of the License at
https://github.com/gpii/universal/LICENSE.txt
*/
"use strict";
var fluid = require("gpii-universal"),
path = require("path");
fluid.module.register("gpii-windows", __dirname, require);
fluid.contextAware.makeChecks({
"gpii.contexts.windows": {
value: true
}
});
// Add ./bin to the path.
var binPath = path.join(__dirname, "bin");
process.env.path = binPath + ";" + process.env.path;
// Use certificates from the Windows certificate stores [GPII-4186]
var ca = require("win-ca/api");
ca({
store: ["MY", "Root", "Trust", "CA"],
inject: "+"
});
require("./gpii/node_modules/WindowsUtilities/WindowsUtilities.js");
require("./gpii/node_modules/processHandling/processHandling.js");
require("./gpii/node_modules/displaySettingsHandler");
require("./gpii/node_modules/registrySettingsHandler");
require("./gpii/node_modules/registryResolver");
require("./gpii/node_modules/spiSettingsHandler");
require("./gpii/node_modules/registeredAT/registeredAT.js");
require("./gpii/node_modules/windowsMetrics");
require("./gpii/node_modules/processReporter");
require("./gpii/node_modules/windowMessages");
require("./gpii/node_modules/userListeners");
require("./gpii/node_modules/systemSettingsHandler");
require("./gpii/node_modules/nativeSettingsHandler");
require("./gpii/node_modules/gpii-app-zoom");
require("./gpii/node_modules/wmiSettingsHandler");
require("./gpii/node_modules/gpii-localisation");
require("./gpii/node_modules/gpii-office");
require("./gpii/node_modules/gpii-userInput");
require("./gpii/node_modules/gpii-service-handler");
require("./gpii/node_modules/gpii-windowManagement");
module.exports = fluid;