I dunno
This commit is contained in:
parent
f4bb25f94a
commit
75c7e2bec8
3
ToDo.txt
3
ToDo.txt
@ -1,5 +1,4 @@
|
||||
ProgressBar for Downloads
|
||||
Icons
|
||||
Run apps from UpTool
|
||||
More apps: cashew, Laptop Sim (wenn fertig)
|
||||
More apps: cashew, Laptop Sim (when done)
|
||||
Automate creating packages for apps?
|
@ -77,7 +77,12 @@ namespace UpTool2
|
||||
if (runnable)
|
||||
mainFile = el.Element("MainFile").Value;
|
||||
Color color = ColorTranslator.FromHtml(el.Element("Color").Value);
|
||||
Image icon = Image.FromStream(client.OpenRead(el.Element("Icon").Value));
|
||||
string tmp_imageurl;
|
||||
if (el.Element("Icon") == null)
|
||||
tmp_imageurl = "https://raw.githubusercontent.com/CreepyCrafter24/CC-Clicker/master/C_64.ico";
|
||||
else
|
||||
tmp_imageurl = el.Element("Icon").Value;
|
||||
Image icon = Image.FromStream(client.OpenRead(tmp_imageurl));
|
||||
apps[ID] = new App(name, description, version, file, hash, ID, color, icon, runnable, mainFile);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user