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);