fix syntax errors 4

This commit is contained in:
MTRNord 2017-10-02 22:03:12 +02:00
parent fbf2311169
commit 0641287c34
No known key found for this signature in database
GPG Key ID: E5B89311FAB91B9F

View File

@ -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");
}
}
}