wah
2022-09-09 5904f24872e48399ce84bdee6161958c5d686c11
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
function Controller()
     //installer.gainAdminRights();
     installer.uninstallationFinished.connect(this, this.uninstallationFinished);
     installer.uninstallationStarted.connect(this, this.uninstallationStarted); 
   
}
 
 
Controller.prototype.uninstallationStarted = function()
{
    try {
       
       var tmpSys = installer.value("os")
       if (tmpSys === "win") {    
         //  installer.execute("@TargetDir@/mbwatch.exe","-t");
        //   installer.execute("@TargetDir@/mbwatch.exe","-u");     
        
       }else{  
         //  installer.execute("@TargetDir@/mbwatch","-t");
         //  installer.execute("@TargetDir@/mbwatch","-u");    
 
       } 
    } catch(e) {
       console.log(e);
    } 
 
}
 
 
Controller.prototype.uninstallationFinished = function()
{
    console.log("uninstallationFinished")
}