mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 17:13:44 -07:00
For 1.2 RC3 I modified the update check so that it first retrieves the last modified date of the project feed (HTTP HEAD method), if the date is newer than the last check than it will download the feed. This should reduce the amount of traffic on our website. [skip ci]
This commit is contained in:
parent
380f581bbe
commit
c6d6431a81
5 changed files with 51 additions and 2 deletions
|
@ -410,8 +410,12 @@ namespace GreenshotPlugin.Core {
|
|||
// CheckForUnstable = true;
|
||||
|
||||
if (string.IsNullOrEmpty(LastSaveWithVersion)) {
|
||||
// Store version, this can be used later to fix settings after an update
|
||||
LastSaveWithVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
|
||||
try {
|
||||
// Store version, this can be used later to fix settings after an update
|
||||
LastSaveWithVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
|
||||
} catch {
|
||||
|
||||
}
|
||||
// Disable the AutoReduceColors as it causes issues with Mozzila applications and some others
|
||||
OutputFileAutoReduceColors = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue