core/log: capture early logs in fs logger

This commit is contained in:
outfoxxed 2024-08-07 15:53:11 -07:00
parent 7c7326ec52
commit 8364e94d26
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 160 additions and 105 deletions

View file

@ -21,7 +21,6 @@ void QsPaths::init(QString shellId) { QsPaths::instance()->shellId = std::move(s
QDir* QsPaths::cacheDir() {
if (this->cacheState == DirState::Unknown) {
auto dir = QDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation));
dir = QDir(dir.filePath("quickshell"));
dir = QDir(dir.filePath(this->shellId));
this->mCacheDir = dir;