Merge pull request #177 from leaqui/master

Fix issue #176
This commit is contained in:
Michael Bayne
2018-12-17 11:21:17 -08:00
committed by GitHub
@@ -676,6 +676,9 @@ public abstract class Getdown extends Thread
// download the patch files...
setStep(Step.DOWNLOAD);
download(list);
// rename the patch files...
install(list);
// and apply them...
setStep(Step.PATCH);
@@ -710,6 +713,17 @@ public abstract class Getdown extends Thread
readConfig(false);
}
/**
* Installs resources
*/
private void install (List<Resource> resources)
throws IOException
{
for (Resource rsrc : resources) {
rsrc.install(true);
}
}
/**
* Called if the application is determined to require resource downloads.
*/