diff options
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) { |