mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48: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 fileDest = this.cards.get(this.card).getDestination();
|
||||||
final File base = fileDest.getParentFile();
|
final File base = fileDest.getParentFile();
|
||||||
|
|
||||||
//System.out.println(String.format("Downloading %s to %s", url, fileDest.getPath()));
|
|
||||||
try {
|
try {
|
||||||
// test for folder existence
|
// test for folder existence
|
||||||
if (!base.exists() && !base.mkdir()) { // create folder if not found
|
if (!base.exists() && !base.mkdir()) { // create folder if not found
|
||||||
@@ -404,6 +403,7 @@ public abstract class GuiDownloader extends DefaultBoundedRangeModel implements
|
|||||||
source = srcUrl;
|
source = srcUrl;
|
||||||
destination = destFile;
|
destination = destFile;
|
||||||
//System.out.println(String.format("downloading %s to %s", srcUrl, destFile));
|
//System.out.println(String.format("downloading %s to %s", srcUrl, destFile));
|
||||||
|
System.out.println(String.format("downloading %s", destFile));
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getSource() {
|
public String getSource() {
|
||||||
|
|||||||
Reference in New Issue
Block a user