File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 11using System . Net ;
2+ using System . IO . Compression ;
23
34public static class Installations
45{
56 public static WebClient client = new WebClient ( ) ;
6- public static Uri HIPPath = new Uri ( "https://github.com/green726/HISS" ) ;
7- public static Uri languagePath = new Uri ( "https://github.com/green726/HISS" ) ;
7+ public static Uri HIPUri = new Uri ( "https://github.com/green726/HISS/HIP " ) ;
8+ public static Uri languageUri = new Uri ( "https://github.com/green726/HISS/Language " ) ;
89
910
1011 public static void installHIP ( string path )
1112 {
12- client . DownloadFileAsync ( ) ;
13+ client . DownloadFileAsync ( HIPUri , path + @"/HIP.zip" ) ;
14+ //other HIP install stuff comes before the language install
15+ ZipFile . ExtractToDirectory ( path )
16+
17+
1318 installLanguage( path ) ;
1419 }
1520
1621 public static void installLanguage ( string path )
1722 {
18- client . DownloadFileAsync ( ) ;
23+ client . DownloadFileAsync ( languageUri , path + @"/Language.zip" ) ;
24+
1925 }
2026}
You can’t perform that action at this time.
0 commit comments