blah
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenRA.Launcher
|
|||||||
modList.Add(m);
|
modList.Add(m);
|
||||||
if (!allMods.ContainsKey(m))
|
if (!allMods.ContainsKey(m))
|
||||||
{
|
{
|
||||||
System.Windows.Forms.MessageBox.Show("allMods does not contain " + m);
|
MessageBox.Show("allMods does not contain " + m);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
while (!string.IsNullOrEmpty(allMods[m].Requires))
|
while (!string.IsNullOrEmpty(allMods[m].Requires))
|
||||||
@@ -174,11 +174,11 @@ namespace OpenRA.Launcher
|
|||||||
var p = UtilityProgram.Call("--download-url", pipename,
|
var p = UtilityProgram.Call("--download-url", pipename,
|
||||||
(_, e) =>
|
(_, e) =>
|
||||||
{
|
{
|
||||||
|
|
||||||
using (var reader = new StreamReader(pipe))
|
using (var reader = new StreamReader(pipe))
|
||||||
{
|
{
|
||||||
var data = reader.ReadToEnd();
|
var data = reader.ReadToEnd();
|
||||||
document.InvokeScript(callbackName, new object[] { data });
|
Form.ActiveForm.Invoke((Delegate)(Action)(() =>
|
||||||
|
document.InvokeScript(callbackName, new object[] { data })));
|
||||||
}
|
}
|
||||||
}, url);
|
}, url);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user