Added updater hooks back to program

This commit is contained in:
Travis Nickles 2019-12-20 17:45:03 -06:00
parent b36212354e
commit ecc82de0c7
2 changed files with 2 additions and 3 deletions

View File

@ -316,7 +316,7 @@
<TextBlock Text="{lex:Loc DriverSetup}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
</Button>
<Button x:Name="checkUpdatesBtn" BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}">
Style="{StaticResource NoBGHoverBtn}" Click="CheckUpdatesBtn_Click">
<!--="CheckUpdatesBtn_Click">-->
<TextBlock Text="{lex:Loc CheckUpdateNow}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
</Button>

View File

@ -131,7 +131,7 @@ namespace DS4WinWPF.DS4Forms
UpdateTheUpdater();
});
/*Task.Delay(100).ContinueWith((t) =>
Task.Delay(100).ContinueWith((t) =>
{
int checkwhen = Global.CheckWhen;
if (checkwhen > 0 && DateTime.Now >= Global.LastChecked + TimeSpan.FromHours(checkwhen))
@ -142,7 +142,6 @@ namespace DS4WinWPF.DS4Forms
Global.LastChecked = DateTime.Now;
}
});
*/
}
private void DownloadUpstreamVersionInfo()