mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
APM Planner 1.0.71
fix silly updater issue. for those with problems download OpenTK.GLControl.dll and replace it.
This commit is contained in:
parent
8a5108ab96
commit
b7c936d819
@ -1391,8 +1391,11 @@ namespace ArdupilotMega
|
|||||||
{
|
{
|
||||||
FileInfo fi = new FileInfo(path);
|
FileInfo fi = new FileInfo(path);
|
||||||
|
|
||||||
if (fi.Length != response.ContentLength)
|
if (fi.Length != response.ContentLength) // && response.Headers[HttpResponseHeader.ETag] != "0")
|
||||||
{
|
{
|
||||||
|
StreamWriter sw = new StreamWriter(path+".etag");
|
||||||
|
sw.WriteLine(response.Headers[HttpResponseHeader.ETag]);
|
||||||
|
sw.Close();
|
||||||
getfile = true;
|
getfile = true;
|
||||||
Console.WriteLine("NEW FILE " + file);
|
Console.WriteLine("NEW FILE " + file);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user