mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29: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" />
|
<TextBlock Text="{lex:Loc DriverSetup}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="checkUpdatesBtn" BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}"
|
<Button x:Name="checkUpdatesBtn" BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}"
|
||||||
Style="{StaticResource NoBGHoverBtn}">
|
Style="{StaticResource NoBGHoverBtn}" Click="CheckUpdatesBtn_Click">
|
||||||
<!--="CheckUpdatesBtn_Click">-->
|
<!--="CheckUpdatesBtn_Click">-->
|
||||||
<TextBlock Text="{lex:Loc CheckUpdateNow}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
|
<TextBlock Text="{lex:Loc CheckUpdateNow}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -131,7 +131,7 @@ namespace DS4WinWPF.DS4Forms
|
|||||||
UpdateTheUpdater();
|
UpdateTheUpdater();
|
||||||
});
|
});
|
||||||
|
|
||||||
/*Task.Delay(100).ContinueWith((t) =>
|
Task.Delay(100).ContinueWith((t) =>
|
||||||
{
|
{
|
||||||
int checkwhen = Global.CheckWhen;
|
int checkwhen = Global.CheckWhen;
|
||||||
if (checkwhen > 0 && DateTime.Now >= Global.LastChecked + TimeSpan.FromHours(checkwhen))
|
if (checkwhen > 0 && DateTime.Now >= Global.LastChecked + TimeSpan.FromHours(checkwhen))
|
||||||
@ -142,7 +142,6 @@ namespace DS4WinWPF.DS4Forms
|
|||||||
Global.LastChecked = DateTime.Now;
|
Global.LastChecked = DateTime.Now;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DownloadUpstreamVersionInfo()
|
private void DownloadUpstreamVersionInfo()
|
||||||
|
Loading…
Reference in New Issue
Block a user