mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 21:39:40 +00:00
fix for update download
added the new link added link for download
This commit is contained in:
1 parent
76eac49f92
commit
2531ff47aa
2 files changed
+4
-4
No files matched your search
@@ -202,8 +202,8 @@ public class ThreadClientUpdate extends Thread
|
||||
private static URL createURL()
|
||||
{
|
||||
try {
|
||||
return new URL("http://ci.aidancbrady.com/job/Mekanism/Recommended/artifact/*zip*/archive.zip");
|
||||
} catch(Exception e) {}
|
||||
return new URL("http://technic-solder.eu-central-1.linodeobjects.com/mekanism/latestmekanism.zip");
|
||||
} catch(Exception e) {}s
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class ThreadGetData extends Thread
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
List<String> ret = MekanismUtils.getHTML("https://technic-solder.eu-central-1.linodeobjects.com/Mekanism.txt");
|
||||
List<String> ret = MekanismUtils.getHTML("http://technic-solder.eu-central-1.linodeobjects.com/mekanism/Mekanism.txt");
|
||||
|
||||
Mekanism.latestVersionNumber = "null";
|
||||
Mekanism.recentNews = "null";
|
||||
@@ -30,7 +30,7 @@ public class ThreadGetData extends Thread
|
||||
{
|
||||
String[] text = s.split(":");
|
||||
|
||||
if(text.length == 3 && !text[0].contains("UTF-8") && !text[0].contains("HTML") && !text[0].contains("https"))
|
||||
if(text.length == 3 && !text[0].contains("UTF-8") && !text[0].contains("HTML") && !text[0].contains("http"))
|
||||
{
|
||||
if(Version.get(text[0]) != null && Version.get(text[0]).equals(Version.get((String)FMLInjectionData.data()[4])))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user