fix updater

i feel dumb
This commit is contained in:
Jakob 2019-12-30 21:06:47 +01:00
parent 75762bd44f
commit 76ead73163
3 changed files with 19 additions and 1 deletions

View file

@ -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;
}