fix syntax errors
This commit is contained in:
parent
2987689ea9
commit
066710cf0f
@ -27,12 +27,14 @@ Component.prototype.createOperations = function()
|
||||
/**
|
||||
* Cleanup AppData and registry
|
||||
*/
|
||||
if(installer.isUninstaller()){
|
||||
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") != ""){
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir "%LOCALAPPDATA%\nheko" /f")
|
||||
if( installer.isUninstaller() )
|
||||
{
|
||||
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") != "" )
|
||||
{
|
||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir "%LOCALAPPDATA%\nheko" /f");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user