From 64cefd87f340b120aeb3eb4b81a83bcbc5e84438 Mon Sep 17 00:00:00 2001 From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com> Date: Sat, 14 Sep 2019 14:11:20 +0200 Subject: [PATCH] Synced files --- ToDo.txt | 1 - UpTool2/Program.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ToDo.txt b/ToDo.txt index 1f641b8..31f5b2e 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -1,3 +1,2 @@ -Program.cs: check if folder structure is present More Icons for Apps More apps: Laptop Sim (when done) diff --git a/UpTool2/Program.cs b/UpTool2/Program.cs index 51e5a62..b558b70 100644 --- a/UpTool2/Program.cs +++ b/UpTool2/Program.cs @@ -76,6 +76,8 @@ namespace UpTool2 hasHandle = true; } string dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\UpTool2"; + if (!Directory.Exists(dir)) + Directory.CreateDirectory(dir); string xml = dir + @"\info.xml"; if (!File.Exists(xml)) new XElement("meta", new XElement("Version", 0)).Save(xml);