mirror of
https://github.com/open-goal/jak-project
synced 2026-09-07 11:36:26 -04:00
extractor: cleanup, support unicode properly, and add multi-game support (#1609)
* extractor: refactor and cleanup for multi-game support * deps: switch to `ghc::filesystem` as it is utf-8 everywhere by default * extractor: finally working with unicode * unicode: fix unicode cli args on windows in all `main` functions
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
|
||||
#include "test_runner.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
#include "inja.hpp"
|
||||
@@ -118,8 +117,8 @@ void runtime_with_kernel_no_debug_segment() {
|
||||
}
|
||||
|
||||
void createDirIfAbsent(const std::string& path) {
|
||||
if (!std::filesystem::is_directory(path) || !std::filesystem::exists(path)) {
|
||||
std::filesystem::create_directory(path);
|
||||
if (!fs::is_directory(path) || !fs::exists(path)) {
|
||||
fs::create_directory(path);
|
||||
}
|
||||
}
|
||||
std::string getTemplateDir(const std::string& category) {
|
||||
|
||||
Reference in New Issue
Block a user