{
//Download the content instead of navigating to it, to bypass
//the Content-Disposition header
- NetSparkleBrowser.DocumentText = client.DownloadString(item.ReleaseNotesLink);
+ string notes = client.DownloadString(item.ReleaseNotesLink);
+ NetSparkleBrowser.DocumentText = notes;
}
}
else
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.7.20313.0")]
-[assembly: AssemblyFileVersionAttribute("0.7.20313.0")]
+[assembly: AssemblyVersion("0.7.20314.0")]
+[assembly: AssemblyFileVersionAttribute("0.7.20314.0")]
public void CheckForUpgrade()
{
ShowBalloonFor(new Notification{Title="Checking for upgrades",Message="Contacting the server to retrieve the latest Pithos+ version."});
- Log.Error("Test Error message");
_sparkle.StopLoop();
_sparkle.updateDetected -= OnUpgradeDetected;
_sparkle.checkLoopFinished -= OnCheckFinished;
--- /dev/null
+<html>
+<body>
+<h2>Pithos MS Client v. 0.7.20314</h2>
+Release Date: March 20, 2012, 18:00
+<br/>
+Includes:
+<br/>
+<ul>
+<li> Fixed handling of directories generated by Firefox</li>
+</ul>
+</body>
+</html>
\ No newline at end of file
<title>Pithos MS Client</title> \r
<link>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/changes/trunk/Pithos.Installer/versioninfo.xml</link> \r
<description></description> \r
- <language>en</language> \r
+ <language>en</language> \r
+ <item> \r
+ <title>Version 0.7.20314</title>\r
+ <sparkle:releaseNotesLink>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/rnotes.0.7.20314.html</sparkle:releaseNotesLink>\r
+ <pubDate>Tue, 20 Mar 2012 18:00:00 +0200</pubDate>\r
+ <enclosure \r
+ url="https://code.grnet.gr/attachments/download/1027/PithosPlus_Setupv0.7.20314.0.exe"\r
+ length="4335120" \r
+ type="application/octet-stream"\r
+ sparkle:version="0.7.20314" \r
+ />\r
+ </item>\r
<item> \r
<title>Version 0.7.20313</title>\r
<sparkle:releaseNotesLink>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/rnotes.0.7.20313.html</sparkle:releaseNotesLink>\r
{
get
{
- return String.Equals(Content_Type, @"application/directory",StringComparison.InvariantCultureIgnoreCase);
+ if (Content_Type.StartsWith(@"application/directory",StringComparison.InvariantCultureIgnoreCase))
+ return true;
+ if (Content_Type.StartsWith(@"application/folder",StringComparison.InvariantCultureIgnoreCase))
+ return true;
+ return false;
}
}