diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-27 23:04:59 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-27 23:04:59 +1000 |
| commit | ecd5f5d13936dd097b12766cb95a568ad5b073a9 (patch) | |
| tree | f360b08e656a98faca4f2b9f10dc44602e6ca289 /src/marlin.core/util/CommonPaths.cs | |
| parent | 88ee626cb3686dc176cd7911b073c4e65fa54d34 (diff) | |
feat: lots of stuff
Diffstat (limited to 'src/marlin.core/util/CommonPaths.cs')
| -rw-r--r-- | src/marlin.core/util/CommonPaths.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/marlin.core/util/CommonPaths.cs b/src/marlin.core/util/CommonPaths.cs new file mode 100644 index 0000000..6659d8b --- /dev/null +++ b/src/marlin.core/util/CommonPaths.cs @@ -0,0 +1,10 @@ +namespace marlin.core.util; + +public static class CommonPaths +{ + public static readonly string Root = Environment.GetEnvironmentVariable("MARLIN_ROOT") + ?? throw new Exception("MARLIN_ROOT is not set"); + + public static readonly string WebRoot = Path.Join(Root, "run"); + public static readonly string AgentRoot = Path.Join(Root, "local-run"); +}
\ No newline at end of file |
