Merge pull request #1 from leaqui/patch-issue-176

Fix issue #176
This commit is contained in:
Leandro Quiroga
2018-12-14 16:24:29 -03:00
committed by GitHub
@@ -677,6 +677,9 @@ public abstract class Getdown extends Thread
setStep(Step.DOWNLOAD);
download(list);
// rename the patch files...
install(list);
// and apply them...
setStep(Step.PATCH);
updateStatus("m.patching");
@@ -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();
}
}
/**
* Called if the application is determined to require resource downloads.
*/