fix updater
i feel dumb
This commit is contained in:
parent
75762bd44f
commit
76ead73163
3 changed files with 19 additions and 1 deletions
|
@ -111,7 +111,7 @@ namespace EnvyUpdate
|
|||
string updPath = "https://raw.githubusercontent.com/fyr77/EnvyUpdate/master/res/version.txt";
|
||||
|
||||
System.Net.WebClient wc = new System.Net.WebClient();
|
||||
string webData = wc.DownloadString(updPath);
|
||||
string webData = wc.DownloadString(updPath).Truncate(3);
|
||||
|
||||
return webData;
|
||||
}
|
||||
|
|
Reference in a new issue