fix syntax errors 4
This commit is contained in:
parent
fbf2311169
commit
0641287c34
@ -32,9 +32,10 @@ Component.prototype.createOperations = function()
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko\font /f");
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko\notifications /f");
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko\window /f");
|
||||
if( installer.environmentVariable("LOCALAPPDATA") != "" )
|
||||
var localappdata = installer.environmentVariable("LOCALAPPDATA");
|
||||
if( localappdata != "" )
|
||||
{
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir "%LOCALAPPDATA%\nheko" /f");
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir " localappdata + "\nheko /f");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user