aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index d230875..15011ed 100644
--- a/Program.cs
+++ b/Program.cs
@@ -6,6 +6,11 @@ class Program
{
static void Main(string[] args)
{
+ string homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
+ string hyprwatchDirectory = Path.Combine(homeDirectory, ".cache", "hyprwatch");
+ string dailyDataDirectory = Path.Combine(hyprwatchDirectory, "daily_data");
+ Directory.CreateDirectory(dailyDataDirectory);
+
if (args.Length == 0 || args[0] != "-d" && args[0] != "--show")
{
Console.WriteLine("Usage: -d || --show");