Synced files

This commit is contained in:
CreepyCrafter24 2019-09-14 14:11:20 +02:00
parent 114b283715
commit 64cefd87f3
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,2 @@
Program.cs: check if folder structure is present
More Icons for Apps
More apps: Laptop Sim (when done)

View File

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