@@ -676,6 +676,9 @@ public abstract class Getdown extends Thread
|
|||||||
// download the patch files...
|
// download the patch files...
|
||||||
setStep(Step.DOWNLOAD);
|
setStep(Step.DOWNLOAD);
|
||||||
download(list);
|
download(list);
|
||||||
|
|
||||||
|
// rename the patch files...
|
||||||
|
install(list);
|
||||||
|
|
||||||
// and apply them...
|
// and apply them...
|
||||||
setStep(Step.PATCH);
|
setStep(Step.PATCH);
|
||||||
@@ -710,6 +713,17 @@ 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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