示例#1
0
        public void ExtractZipAndRepack()
        {
            const string filename = @".\TestAssets\Sample World.sbw";
            const string folder   = @".\TestOutput\Sample World";

            ZipTools.MakeClearDirectory(folder);
            ZipTools.ExtractZipFileToDirectory(filename, null, folder);

            const string newFilename = @".\TestOutput\New World.sbw";

            ZipTools.ZipFolder(folder, null, newFilename);
        }