summary refs log tree commit diff
path: root/deploy
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-04-21 22:51:21 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-04-21 22:51:21 +0200
commit576cd0f56923a31550df03a521a570eaaa5de3e1 (patch)
tree768d05144e078f47d51c1b2258bbb47dd203f517 /deploy
parentMerge branch 'master' of github.com:Nheko-Reborn/nheko into 0.8.2-RC (diff)
parentTranslated using Weblate (Estonian) (diff)
downloadnheko-576cd0f56923a31550df03a521a570eaaa5de3e1.tar.xz
Merge branch 'master' into 0.8.2-RC
Diffstat (limited to 'deploy')
-rw-r--r--deploy/installer/cleanup/installscript.qs28
-rw-r--r--deploy/installer/cleanup/package.xml10
2 files changed, 0 insertions, 38 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 ); - } -} 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Package> - <DisplayName>Cleanup AppData and Registry</DisplayName> - <Description>Cleans up AppData and Registry when selected (logs you out) - Broken</Description> - <Version>__VERSION__</Version> - <ReleaseDate>__DATE__</ReleaseDate> - <SortingPriority>80</SortingPriority> - <Script>installscript.qs</Script> - <Checkable>false</Checkable> -</Package>