mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-11 15:59:08 +01:00
Fixed a couple of urls. Resolves issue #75.
This commit is contained in:
parent
49024cddaf
commit
2e74fd67c1
@ -373,7 +373,7 @@ namespace DS4Windows
|
|||||||
nUDUpdateTime.Value = checkwhen;
|
nUDUpdateTime.Value = checkwhen;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uri url = new Uri("http://23.236.26.40/ds4windows/files/builds/newest.txt"); // Sorry other devs, gonna have to find your own server
|
Uri url = new Uri("http://23.239.26.40/ds4windows/files/builds/newest.txt"); // Sorry other devs, gonna have to find your own server
|
||||||
|
|
||||||
if (checkwhen > 0 && DateTime.Now >= LastChecked + TimeSpan.FromHours(checkwhen))
|
if (checkwhen > 0 && DateTime.Now >= LastChecked + TimeSpan.FromHours(checkwhen))
|
||||||
{
|
{
|
||||||
@ -2067,7 +2067,7 @@ namespace DS4Windows
|
|||||||
private void lLBUpdate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void lLBUpdate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
{
|
{
|
||||||
// Sorry other devs, gonna have to find your own server
|
// Sorry other devs, gonna have to find your own server
|
||||||
Uri url = new Uri("http://23.236.26.40/ds4windows/files/builds/newest.txt");
|
Uri url = new Uri("http://23.239.26.40/ds4windows/files/builds/newest.txt");
|
||||||
WebClient wct = new WebClient();
|
WebClient wct = new WebClient();
|
||||||
wct.DownloadFileAsync(url, appdatapath + "\\version.txt");
|
wct.DownloadFileAsync(url, appdatapath + "\\version.txt");
|
||||||
wct.DownloadFileCompleted += wct_DownloadFileCompleted;
|
wct.DownloadFileCompleted += wct_DownloadFileCompleted;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user