summary refs log tree commit diff
path: root/deploy/installer/cleanup/installscript.qs
diff options
context:
space:
mode:
authorMTRNord <mtrnord1@gmail.com>2021-04-20 21:47:06 +0200
committerMTRNord <mtrnord1@gmail.com>2021-04-20 21:47:06 +0200
commit721ffc9b7c255432fbaac1432c68ea7fb017875d (patch)
tree344a33a2cb59c673140b3a4dec0560c158a0eb5d /deploy/installer/cleanup/installscript.qs
parentTranslated using Weblate (Hungarian) (diff)
downloadnheko-721ffc9b7c255432fbaac1432c68ea7fb017875d.tar.xz
refactor: Remove windows installer feature that was always broken
Diffstat (limited to 'deploy/installer/cleanup/installscript.qs')
-rw-r--r--deploy/installer/cleanup/installscript.qs28
1 files changed, 0 insertions, 28 deletions
diff --git a/deploy/installer/cleanup/installscript.qs b/deploy/installer/cleanup/installscript.qs
deleted file mode 100644

index 46f8012c..00000000 --- a/deploy/installer/cleanup/installscript.qs +++ /dev/null
@@ -1,28 +0,0 @@ -function Component() -{ -} - -Component.prototype.createOperations = function() -{ - component.createOperations(); - - try - { - if( installer.value("os") === "win" ) - { - /** - * Cleanup AppData and registry - */ - component.addElevatedOperation("Execute","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko /f"); - var localappdata = installer.environmentVariable("LOCALAPPDATA"); - if( localappdata != "" ) - { - component.addElevatedOperation("Execute","UNDOEXECUTE","cmd /C rmdir "+localappdata+"\nheko /f"); - } - } - } - catch( e ) - { - print( e ); - } -}