Fixed a strange bug
This commit is contained in:
parent
d8cce87b63
commit
c91573cff9
1
ToDo.txt
1
ToDo.txt
@ -1,3 +1,4 @@
|
|||||||
More Icons for Apps
|
More Icons for Apps
|
||||||
More apps: Laptop Sim (when done)
|
More apps: Laptop Sim (when done)
|
||||||
Use local info when building GUI (Except name/description)
|
Use local info when building GUI (Except name/description)
|
||||||
|
Decent updater
|
@ -76,8 +76,8 @@ namespace UpTool2
|
|||||||
hasHandle = true;
|
hasHandle = true;
|
||||||
}
|
}
|
||||||
string dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\UpTool2";
|
string dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\UpTool2";
|
||||||
if (!Directory.Exists(dir))
|
if (!Directory.Exists(dir + @"\Apps"))
|
||||||
Directory.CreateDirectory(dir);
|
Directory.CreateDirectory(dir + @"\Apps");
|
||||||
string xml = dir + @"\info.xml";
|
string xml = dir + @"\info.xml";
|
||||||
if (!File.Exists(xml))
|
if (!File.Exists(xml))
|
||||||
new XElement("meta", new XElement("Version", 0)).Save(xml);
|
new XElement("meta", new XElement("Version", 0)).Save(xml);
|
||||||
|
Reference in New Issue
Block a user