You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
543 B
24 lines
543 B
2 years ago
|
import NERvGear 1.0 as NVG
|
||
|
import NERvGear.Private 1.0 as NVGP
|
||
|
|
||
|
import "./qml"
|
||
|
|
||
|
NVG.Module {
|
||
|
initialize: function () {
|
||
|
console.log("Initializing ADV-Plugin.");
|
||
|
Common.execute("../bin/ADVServer.exe", "-reboot");
|
||
|
Common.setWsocket(true);
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
ready: function () {
|
||
|
console.log("ADV-Plugin is ready.");
|
||
|
}
|
||
|
|
||
|
cleanup: function () {
|
||
|
console.log("Cleaning up ADV-Plugin.");
|
||
|
Common.setWsocket(false);
|
||
|
Common.execute("../bin/ADVServer.exe", "-close");
|
||
|
}
|
||
|
}
|