From 3d3a39d69b39d5202960ada6d3512786fa4a8c83 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 29 May 2024 08:54:01 +0200 Subject: workspace shares (#84) Feature: New 'workspaces' service which allows a user to share a local folder via zenserver. A workspace can have mulitple workspace shares and they provie an HTTP API that is compatible with the project oplog HTTP API. Workspaces and shares are preserved between runs. Workspaces feature is disabled by default - enable with --workspaces-enabled option when launching zenserver. --- src/zenutil/zenserverprocess.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/zenutil/zenserverprocess.cpp') diff --git a/src/zenutil/zenserverprocess.cpp b/src/zenutil/zenserverprocess.cpp index a44ea4954..84544bac8 100644 --- a/src/zenutil/zenserverprocess.cpp +++ b/src/zenutil/zenserverprocess.cpp @@ -649,6 +649,12 @@ ZenServerInstance::SpawnServer(int BasePort, std::string_view AdditionalServerAr CommandLine << " --test --log-id " << m_Name; CommandLine << " --no-sentry"; + + if (AdditionalServerArgs.find("--system-dir") == std::string_view::npos) + { + CommandLine << " --system-dir "; + PathToUtf8((m_Env.CreateNewTestDir() / "system-dir").c_str(), CommandLine); + } } if (m_OwnerPid.has_value()) -- cgit v1.2.3