示例#1
0
 public static void InstallBundle(string filename)
 {
     Directory.CreateDirectory(@"0:\system\updatetemp");
     Tar.ExtractTar(filename, @"0:\system\updatetemp");
     foreach (var upd in Directory.GetFiles(@"0:\system\updatetemp"))
     {
         Install(upd);
     }
 }
示例#2
0
 public static void Install(string filename)
 {
     //this will be replaced with a lot of code later
     Tar.ExtractTar(filename, @"0:\");
 }