mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 12:25:23 +02:00
Add "MINETEST_MOD_PATH" environment variable (#11515)
This adds an environment variable MINETEST_MOD_PATH. When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/.
This commit is contained in:
@@ -58,6 +58,8 @@ SubgameSpec findWorldSubgame(const std::string &world_path);
|
||||
|
||||
std::set<std::string> getAvailableGameIds();
|
||||
std::vector<SubgameSpec> getAvailableGames();
|
||||
// Get the list of paths to mods in the environment variable $MINETEST_MOD_PATH
|
||||
std::vector<std::string> getEnvModPaths();
|
||||
|
||||
bool getWorldExists(const std::string &world_path);
|
||||
//! Try to get the displayed name of a world
|
||||
|
Reference in New Issue
Block a user