diff --git a/uminekoInstaller.py b/uminekoInstaller.py index d5184c7..0171186 100644 --- a/uminekoInstaller.py +++ b/uminekoInstaller.py @@ -139,11 +139,6 @@ def mainUmineko(conf): downloaderAndExtractor.printPreview() - # Delete all non-checksummed files from the download folder, if they exist - if not optionParser.downloadManually: - print("Removing non-checksummed downloads:") - deleteExtractablesFromFolder(downloadTempDir, [x for x in downloaderAndExtractor.extractList if not x.fromMetaLink]) - downloaderAndExtractor.download() # Treat the install as "started" once the "download" stage is complete diff --git a/uminekoNScripterInstaller.py b/uminekoNScripterInstaller.py index b11787c..facb228 100644 --- a/uminekoNScripterInstaller.py +++ b/uminekoNScripterInstaller.py @@ -64,13 +64,6 @@ def main(conf): downloaderAndExtractor.printPreview() # Download files - # Delete all non-checksummed files from the download folder, if they exist - for extractableItem in downloaderAndExtractor.extractList: - extractableItemPath = os.path.join(downloadTempDir, extractableItem.filename) - if not extractableItem.fromMetaLink and os.path.exists(extractableItemPath): - print("Removing existing non-checksummed download: [{}]".format(extractableItemPath)) - os.remove(extractableItemPath) - downloaderAndExtractor.download() # If any mod options request deletion of a folder, do it before the extraction