New release-based meta.xml deployment
This commit is contained in:
parent
73bfbb4bda
commit
c8f7e149f5
|
@ -144,12 +144,14 @@ Do you want to continue?", "UpTool2", MessageBoxButtons.YesNo) != DialogResult.Y
|
||||||
meta.Add(new XElement("UpdateSource"));
|
meta.Add(new XElement("UpdateSource"));
|
||||||
if (new[]
|
if (new[]
|
||||||
{
|
{
|
||||||
"", "https://raw.githubusercontent.com/CreepyCrafter24/UpTool2/master/Meta.xml",
|
"",
|
||||||
"https://raw.githubusercontent.com/JFronny/UpTool2/master/Meta.xml"
|
"https://raw.githubusercontent.com/CreepyCrafter24/UpTool2/master/Meta.xml",
|
||||||
|
"https://raw.githubusercontent.com/JFronny/UpTool2/master/Meta.xml",
|
||||||
|
"https://gist.githubusercontent.com/JFronny/f1ccbba3d8a2f5862592bb29fdb612c4/raw/Meta.xml"
|
||||||
}
|
}
|
||||||
.Contains(meta.Element("UpdateSource").Value))
|
.Contains(meta.Element("UpdateSource").Value))
|
||||||
meta.Element("UpdateSource").Value =
|
meta.Element("UpdateSource").Value =
|
||||||
"https://gist.githubusercontent.com/JFronny/f1ccbba3d8a2f5862592bb29fdb612c4/raw/Meta.xml";
|
"https://github.com/JFronny/UpTool2/releases/latest/download/meta.xml";
|
||||||
if (meta.Element("Repos") == null)
|
if (meta.Element("Repos") == null)
|
||||||
meta.Add(new XElement("Repos"));
|
meta.Add(new XElement("Repos"));
|
||||||
if (meta.Element("Repos").Elements("Repo").Count() == 0)
|
if (meta.Element("Repos").Elements("Repo").Count() == 0)
|
||||||
|
|
Reference in New Issue
Block a user