From 1639507f8d3831322d7da5cfa0c63cd374695ddf Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 13 Feb 2023 13:02:06 +0000 Subject: Move knowledge of UE env variable from zenserver to zen command line tool (#227) * move knowledge of UE env variable from zenserver to zen command line tool * move env-fetching code to GetEnvVariable --- zencore/include/zencore/filesystem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zencore/include') diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h index f49135687..fa5f94170 100644 --- a/zencore/include/zencore/filesystem.h +++ b/zencore/include/zencore/filesystem.h @@ -181,6 +181,8 @@ struct DirectoryContent void GetDirectoryContent(const std::filesystem::path& RootDir, uint8_t Flags, DirectoryContent& OutContent); +std::string GetEnvVariable(std::string_view VariableName); + ////////////////////////////////////////////////////////////////////////// void filesystem_forcelink(); // internal -- cgit v1.2.3