core.update module¶
Update handling.
- class core.update.DFFDUpdater[source]¶
Bases:
Updater
Updater class for DFFD-hosted downloads.
- class core.update.JSONUpdater[source]¶
Bases:
Updater
Updater class which uses a JSON object to locate the version (and optionally also the download URLs).
- class core.update.RegexUpdater[source]¶
Bases:
Updater
Updater class which uses regular expressions to locate the version (and optionally also the download URLs).
- class core.update.Updater[source]¶
Bases:
object
General class for checking for updates.
- get_direct_url()[source]¶
Returns a URL pointing directly to the update, for download by the program.
- core.update.direct_download_pack()[source]¶
Directly download a new version of the pack to the current BASEDIR
- core.update.download_df_baseline(immediate=False)[source]¶
Download the current version of DF from Bay12 Games to serve as a baseline, in LNP/Baselines/
- core.update.extract_archive(fname, target)[source]¶
Extract the archive fname to dir target, avoiding explosions.