Stop AWG/WG service after uninstall (#738)
* Stop AWG service after uninstall * Close Amnezia-service executable after install * Close Amnezia application with service
This commit is contained in:
parent
030b0351a2
commit
f588fe29db
6 changed files with 26 additions and 4 deletions
|
|
@ -88,8 +88,9 @@ Component.prototype.createOperations = function()
|
|||
component.addElevatedOperation("Execute",
|
||||
["sc", "create", serviceName(), "binpath=", pu_path + serviceName() + ".exe",
|
||||
"start=", "auto", "depend=", "BFE/nsi"],
|
||||
"UNDOEXECUTE", "cmd", "/c", pu_path + "post_uninstall.cmd");
|
||||
|
||||
"UNDOEXECUTE", "cmd", "/c", pu_path + "post_uninstall.cmd");
|
||||
|
||||
component.addElevatedOperation("Execute", "cmd", "/c", pu_path + "post_install.cmd");
|
||||
} else if (runningOnMacOS()) {
|
||||
component.addElevatedOperation("Execute", "@TargetDir@/post_install.sh", "UNDOEXECUTE", "@TargetDir@/post_uninstall.sh");
|
||||
} else if (runningOnLinux()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue