mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 09:19:18 +01:00
Added updater hooks back to program
This commit is contained in:
parent
b36212354e
commit
ecc82de0c7
@ -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>
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user