Skip to content

Commit

Permalink
Uploading Files
Browse files Browse the repository at this point in the history
  • Loading branch information
BaccanoMob committed Apr 16, 2022
1 parent e5718c6 commit 166f1cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CBZBatchZipExtractor.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@
<None Include=".gitignore" />
<None Include="README.md" />
</ItemGroup>
<ItemGroup>
<Text Include="LICENSE.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
3 changes: 3 additions & 0 deletions CBZBatchZipExtractor.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@
<None Include=".gitignore" />
<None Include="README.md" />
</ItemGroup>
<ItemGroup>
<Text Include="LICENSE.txt" />
</ItemGroup>
</Project>
5 changes: 2 additions & 3 deletions CBZBatchZipExtractor/src/ZIPUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static void zipAllinFolder(const std::string& folderPath, const std::string& zip
}

file.save(zipPath);
std::filesystem::remove_all(folderPath);
//std::filesystem::remove_all(folderPath);

}

Expand All @@ -24,7 +24,7 @@ static void unzipAllinFolder(const std::string& folderPath, const std::string& z

file.extractall(folderPath);

std::filesystem::remove(zipPath);
//std::filesystem::remove(zipPath);
}

bool convertExtenstions(const std::string& baseDir, const char* oldExt, const char* newExt)
Expand Down Expand Up @@ -97,7 +97,6 @@ bool unzipAllinDirectory(const std::string& baseDir)

PRINTLOG("Folder Extracted!!");
}
//folderList.emplace_back();
}
PRINTLOG("Finished Extracting!!\n");
}
Expand Down

0 comments on commit 166f1cc

Please sign in to comment.