No need for a separate method.
This commit is contained in:
@@ -677,8 +677,10 @@ public abstract class Getdown extends Thread
|
|||||||
setStep(Step.DOWNLOAD);
|
setStep(Step.DOWNLOAD);
|
||||||
download(list);
|
download(list);
|
||||||
|
|
||||||
// rename the patch files...
|
// install the patch files (renaming them from _new)
|
||||||
install(list);
|
for (Resource rsrc : list) {
|
||||||
|
rsrc.install(true);
|
||||||
|
}
|
||||||
|
|
||||||
// and apply them...
|
// and apply them...
|
||||||
setStep(Step.PATCH);
|
setStep(Step.PATCH);
|
||||||
@@ -713,17 +715,6 @@ public abstract class Getdown extends Thread
|
|||||||
readConfig(false);
|
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.
|
* Called if the application is determined to require resource downloads.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user