Skip to content

Commit

Permalink
Update Installations.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
green726 committed Jul 14, 2022
1 parent 8749b5f commit 7727b48
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Installer/src/Installations.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
using System.Net;
using System.IO.Compression;

public static class Installations
{
public static WebClient client = new WebClient();
public static Uri HIPPath = new Uri("https://github.com/green726/HISS");
public static Uri languagePath = new Uri("https://github.com/green726/HISS");
public static Uri HIPUri = new Uri("https://github.com/green726/HISS/HIP");
public static Uri languageUri = new Uri("https://github.com/green726/HISS/Language");


public static void installHIP(string path)
{
client.DownloadFileAsync();
client.DownloadFileAsync(HIPUri, path + @"/HIP.zip");
//other HIP install stuff comes before the language install
ZipFile.ExtractToDirectory(path )


installLanguage(path);
}

public static void installLanguage(string path)
{
client.DownloadFileAsync();
client.DownloadFileAsync(languageUri, path + @"/Language.zip");

}
}

0 comments on commit 7727b48

Please sign in to comment.