This commit is contained in:
Thomas G 2023-03-06 19:10:51 +11:00
parent b735781bec
commit 7684fb32a2
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace ARCHBLOXBootstrapper
// check for an internet connection first // check for an internet connection first
try try
{ {
wc.DownloadData("http://archblox.com/studio/version.txt"); wc.DownloadData("https://archblox.com/studio/version.txt");
} }
catch catch
{ {
@ -54,7 +54,7 @@ namespace ARCHBLOXBootstrapper
Environment.Exit(0); Environment.Exit(0);
} }
// setup paths // setup paths
byte[] raw = wc.DownloadData("http://archblox.com/studio/version.txt"); byte[] raw = wc.DownloadData("https://archblox.com/studio/version.txt");
string webData = Encoding.UTF8.GetString(raw); string webData = Encoding.UTF8.GetString(raw);
string version_string = webData; string version_string = webData;
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Studio\", @"Versions\"); string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Studio\", @"Versions\");