forked from Mashiro_Sorata/ADV-Plugin
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.
23 lines
545 B
23 lines
545 B
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"); |
|
} |
|
}
|
|
|