mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Fix ContentDB packages timing out by using download_file instead (#7891)
This commit is contained in:
parent
a833bee9ed
commit
f318366c20
4 changed files with 31 additions and 81 deletions
|
@ -146,17 +146,6 @@ Package - content which is downloadable from the content db, may or may not be i
|
|||
optional_depends = {"mod", "names"}, -- mods only
|
||||
}
|
||||
|
||||
* core.get_package_list() -> downloads package list from content db
|
||||
* returns a list of:
|
||||
|
||||
{
|
||||
name = "basename",
|
||||
title = "human readable title",
|
||||
author = "username",
|
||||
type = "", -- mod, game, txp
|
||||
short_description = "description",
|
||||
url = "",
|
||||
}
|
||||
|
||||
Favorites:
|
||||
core.get_favorites(location) -> list of favorites (possible in async calls)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue