示例#1
0
 public void deleteMod(String path, Mod mod)
 {
     foreach (String file in mod.getFiles())
         if (!String.IsNullOrEmpty(file))
             File.Delete(path + "\\" + file);
     foreach (String folder in mod.getFolders())
         if (!String.IsNullOrEmpty(folder))
             DeleteDirectory(path + "\\" + folder);
 }