This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Windows v1.2.5
Updated File Converter function.
bool convert_file(const fs::path& input, const std::string& ext, const fs::path& output, bool force) {
if (!fs::exists(input)) return false;
fs::path out = output / (input.stem().string() + ext);
if (fs::exists(out) && !force) return false;
try {
auto start = std::chrono::high_resolution_clock::now();
fs::copy_file(input, out, fs::copy_options::overwrite_existing);
auto end = std::chrono::high_resolution_clock::now();
std::chrono::duration<double> elapsed = end - start;
std::cout << "\033[32mSaved: " << out
<< " | Conversion took "
<< std::fixed << std::setprecision(4)
<< elapsed.count() << " seconds\033[0m\n";
return true;
} catch (...) {
return false;
}
}
Full Changelog: WIndows...v1.2.5