Skip to content

Commit 0f473b7

Browse files
committed
For now, don't delete non-checksummed files for Umineko to allow resuming downloads
1 parent b22c0d5 commit 0f473b7

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

uminekoInstaller.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ def mainUmineko(conf):
139139

140140
downloaderAndExtractor.printPreview()
141141

142-
# Delete all non-checksummed files from the download folder, if they exist
143-
if not optionParser.downloadManually:
144-
print("Removing non-checksummed downloads:")
145-
deleteExtractablesFromFolder(downloadTempDir, [x for x in downloaderAndExtractor.extractList if not x.fromMetaLink])
146-
147142
downloaderAndExtractor.download()
148143

149144
# Treat the install as "started" once the "download" stage is complete

uminekoNScripterInstaller.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ def main(conf):
6464
downloaderAndExtractor.printPreview()
6565

6666
# Download files
67-
# Delete all non-checksummed files from the download folder, if they exist
68-
for extractableItem in downloaderAndExtractor.extractList:
69-
extractableItemPath = os.path.join(downloadTempDir, extractableItem.filename)
70-
if not extractableItem.fromMetaLink and os.path.exists(extractableItemPath):
71-
print("Removing existing non-checksummed download: [{}]".format(extractableItemPath))
72-
os.remove(extractableItemPath)
73-
7467
downloaderAndExtractor.download()
7568

7669
# If any mod options request deletion of a folder, do it before the extraction

0 commit comments

Comments
 (0)