From 721ffc9b7c255432fbaac1432c68ea7fb017875d Mon Sep 17 00:00:00 2001 From: MTRNord Date: Tue, 20 Apr 2021 21:47:06 +0200 Subject: refactor: Remove windows installer feature that was always broken --- deploy/installer/cleanup/installscript.qs | 28 ---------------------------- deploy/installer/cleanup/package.xml | 10 ---------- 2 files changed, 38 deletions(-) delete mode 100644 deploy/installer/cleanup/installscript.qs delete mode 100644 deploy/installer/cleanup/package.xml (limited to 'deploy') 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 ); - } -} diff --git a/deploy/installer/cleanup/package.xml b/deploy/installer/cleanup/package.xml deleted file mode 100644 index f43e5b78..00000000 --- a/deploy/installer/cleanup/package.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - Cleanup AppData and Registry - Cleans up AppData and Registry when selected (logs you out) - Broken - __VERSION__ - __DATE__ - 80 - - false - -- cgit 1.5.1