Feature/filesystem cleanup (#1587)

* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
This commit is contained in:
Alexander Bock
2021-05-16 20:26:49 +02:00
committed by GitHub
parent 2ca7101b6c
commit ccdc5a5dc3
87 changed files with 648 additions and 711 deletions

View File

@@ -37,6 +37,7 @@
#include <ghoul/logging/logmanager.h>
#include <ghoul/misc/dictionary.h>
#include <ghoul/misc/profiling.h>
#include <filesystem>
namespace {
constexpr const char* _loggerCat = "WebBrowser";
@@ -117,7 +118,7 @@ void WebBrowserModule::internalDeinitialize() {
std::string WebBrowserModule::findHelperExecutable() {
std::string execLocation = absPath("${BIN}/" + std::string(SubprocessPath));
if (!FileSys.fileExists(execLocation)) {
if (!std::filesystem::is_regular_file(execLocation)) {
LERROR(fmt::format(
"Could not find web helper executable at location: {}" , execLocation
));