mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix pkgmgr game install with RUN_IN_PLACE=0 (#8113)
This commit is contained in:
parent
922e6ff57e
commit
ded522b2ee
2 changed files with 15 additions and 19 deletions
|
@ -53,11 +53,12 @@ private:
|
|||
static int getBoolData(lua_State *L, std::string name,bool& valid);
|
||||
|
||||
/**
|
||||
* check if a path is within some of minetests folders
|
||||
* Checks if a path may be modified. Paths in the temp directory or the user
|
||||
* games, mods, textures, or worlds directories may be modified.
|
||||
* @param path path to check
|
||||
* @return true/false
|
||||
* @return true if the path may be modified
|
||||
*/
|
||||
static bool isMinetestPath(std::string path);
|
||||
static bool mayModifyPath(const std::string &path);
|
||||
|
||||
//api calls
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue