mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Changed remote URL for update file check
This commit is contained in:
parent
e1eae85302
commit
eae1d47ba6
@ -288,7 +288,7 @@ namespace DS4Windows
|
||||
nUDUpdateTime.Value = checkwhen;
|
||||
}
|
||||
|
||||
Uri url = new Uri("http://23.239.26.40/ds4windows/files/builds/newest.txt"); // Sorry other devs, gonna have to find your own server
|
||||
Uri url = new Uri("https://raw.githubusercontent.com/Ryochan7/DS4Windows/jay/DS4Windows/newest.txt"); // Sorry other devs, gonna have to find your own server
|
||||
|
||||
if (checkwhen > 0 && DateTime.Now >= LastChecked + TimeSpan.FromHours(checkwhen))
|
||||
{
|
||||
@ -2058,7 +2058,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
private void lLBUpdate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
// Sorry other devs, gonna have to find your own server
|
||||
Uri url = new Uri("http://23.239.26.40/ds4windows/files/builds/newest.txt");
|
||||
Uri url = new Uri("https://raw.githubusercontent.com/Ryochan7/DS4Windows/jay/DS4Windows/newest.txt");
|
||||
WebClient wct = new WebClient();
|
||||
wct.DownloadFileAsync(url, appdatapath + "\\version.txt");
|
||||
wct.DownloadFileCompleted += (sender2, e2) => TaskRunner.Run(() => wct_DownloadFileCompleted(sender2, e2));
|
||||
|
Loading…
Reference in New Issue
Block a user