mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
report on which files will be downloaded
This commit is contained in:
@@ -306,7 +306,6 @@ public abstract class GuiDownloader extends DefaultBoundedRangeModel implements
|
||||
final File fileDest = this.cards.get(this.card).getDestination();
|
||||
final File base = fileDest.getParentFile();
|
||||
|
||||
//System.out.println(String.format("Downloading %s to %s", url, fileDest.getPath()));
|
||||
try {
|
||||
// test for folder existence
|
||||
if (!base.exists() && !base.mkdir()) { // create folder if not found
|
||||
@@ -404,6 +403,7 @@ public abstract class GuiDownloader extends DefaultBoundedRangeModel implements
|
||||
source = srcUrl;
|
||||
destination = destFile;
|
||||
//System.out.println(String.format("downloading %s to %s", srcUrl, destFile));
|
||||
System.out.println(String.format("downloading %s", destFile));
|
||||
}
|
||||
|
||||
public String getSource() {
|
||||
|
||||
Reference in New Issue
Block a user