refactor download

This commit is contained in:
crazywhalecc
2023-04-30 12:42:19 +08:00
parent 117cd93e8f
commit 0bed76da11
30 changed files with 901 additions and 673 deletions

View File

@@ -57,4 +57,9 @@ const PKGCONF_PATCH_LIBDIR = 4;
const PKGCONF_PATCH_INCLUDEDIR = 8;
const PKGCONF_PATCH_ALL = 15;
// Custom download type
const DOWNLOAD_TYPE_NONE = 0;
const DOWNLOAD_TYPE_ARCHIVE = 1;
const DOWNLOAD_TYPE_DIR = 2;
ConsoleLogger::$date_format = 'H:i:s';