Example #1
0
 private static void ClearBatchFolder()
 {
     if (Directory.Exists(BATCHBUILDDIR))
     {
         FileAssets.DeleteDirectory(BATCHBUILDDIR);
     }
 }
Example #2
0
        public static void ClearQuestFolders(string buildDir, string fpkName)
        {
            string fpkdir  = $"{buildDir}//Assets//tpp//pack//mission2//quest//ih//{fpkName}_fpk";
            string fpkddir = $"{buildDir}//Assets//tpp//pack//mission2//quest//ih//{fpkName}_fpkd";

            if (Directory.Exists(fpkdir))
            {
                FileAssets.DeleteDirectory(fpkdir);
            }

            if (Directory.Exists(fpkddir))
            {
                FileAssets.DeleteDirectory(fpkddir);
            }
        }