diff options
author | MTRNord <mtrnord1@gmail.com> | 2021-04-20 21:47:06 +0200 |
---|---|---|
committer | MTRNord <mtrnord1@gmail.com> | 2021-04-20 21:47:06 +0200 |
commit | 721ffc9b7c255432fbaac1432c68ea7fb017875d (patch) | |
tree | 344a33a2cb59c673140b3a4dec0560c158a0eb5d | |
parent | Translated using Weblate (Hungarian) (diff) | |
download | nheko-721ffc9b7c255432fbaac1432c68ea7fb017875d.tar.xz |
refactor: Remove windows installer feature that was always broken
-rw-r--r-- | appveyor.yml | 6 | ||||
-rw-r--r-- | deploy/installer/cleanup/installscript.qs | 28 | ||||
-rw-r--r-- | deploy/installer/cleanup/package.xml | 10 |
3 files changed, 0 insertions, 44 deletions
diff --git a/appveyor.yml b/appveyor.yml index 83305a28..b9ec11fa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -77,25 +77,19 @@ after_build: - mkdir installer\packages\io.github.nhekoreborn.nheko - mkdir installer\packages\io.github.nhekoreborn.nheko\data - mkdir installer\packages\io.github.nhekoreborn.nheko\meta - - mkdir installer\packages\io.github.nhekoreborn.nheko.cleanup\meta # Copy installer data - copy %BUILD%\resources\nheko.ico installer\config - copy %BUILD%\resources\nheko.png installer\config - copy %BUILD%\COPYING installer\packages\io.github.nhekoreborn.nheko\meta\license.txt - - copy %BUILD%\COPYING installer\packages\io.github.nhekoreborn.nheko.cleanup\meta\license.txt - copy %BUILD%\deploy\installer\config.xml installer\config - copy %BUILD%\deploy\installer\controlscript.qs installer\config - copy %BUILD%\deploy\installer\uninstall.qs installer\packages\io.github.nhekoreborn.nheko\data - copy %BUILD%\deploy\installer\gui\package.xml installer\packages\io.github.nhekoreborn.nheko\meta - copy %BUILD%\deploy\installer\gui\installscript.qs installer\packages\io.github.nhekoreborn.nheko\meta - - copy %BUILD%\deploy\installer\cleanup\package.xml installer\packages\io.github.nhekoreborn.nheko.cleanup\meta - - copy %BUILD%\deploy\installer\cleanup\installscript.qs installer\packages\io.github.nhekoreborn.nheko.cleanup\meta # Amend version and date - sed -i "s/__VERSION__/0.8.1/" installer\config\config.xml - sed -i "s/__VERSION__/0.8.1/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml - - sed -i "s/__VERSION__/0.8.1/" installer\packages\io.github.nhekoreborn.nheko.cleanup\meta\package.xml - sed -i "s/__DATE__/%DATE%/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml - - sed -i "s/__DATE__/%DATE%/" installer\packages\io.github.nhekoreborn.nheko.cleanup\meta\package.xml # Copy nheko data - xcopy NhekoData\*.* installer\packages\io.github.nhekoreborn.nheko\data\*.* /s /e /c /y - move NhekoRelease\nheko.exe installer\packages\io.github.nhekoreborn.nheko\data 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> |