Add Firmware Directory

This commit is contained in:
Xphalnos 2025-06-20 20:40:27 +02:00
parent 4d4f0c8490
commit b552608b83
2 changed files with 8 additions and 3 deletions

View file

@ -63,10 +63,12 @@ static auto UserPaths = [] {
if (nixos) {
currentDir /= "files";
insert_path(PathType::RootDir, currentDir);
insert_path(PathType::FirmwareDir, currentDir / FW_DIR);
insert_path(PathType::LogDir, currentDir / LOG_DIR);
}
else {
insert_path(PathType::RootDir, currentDir, false);
insert_path(PathType::FirmwareDir, binaryDir / FW_DIR);
insert_path(PathType::LogDir, binaryDir / LOG_DIR);
}
return paths;