aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Program.cs b/Program.cs
index 79ed13b..8c2e1bf 100644
--- a/Program.cs
+++ b/Program.cs
@@ -1,8 +1,11 @@
-using System.Diagnostics;
+using System.Collections;
+using System.Diagnostics;
using dotenv.net;
DotEnv.Load();
var envVars = DotEnv.Read();
+foreach (DictionaryEntry entry in Environment.GetEnvironmentVariables())
+ envVars[entry.Key.ToString()!] = entry.Value!.ToString()!;
while (true)
{