feat: find image file relative to config option image_path

This commit is contained in:
xinyangli 2024-08-08 17:06:59 +08:00
parent 13ded9c314
commit 407216b17c
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
6 changed files with 25 additions and 6 deletions

View file

@ -5,6 +5,7 @@
#include <vector>
struct Config {
std::filesystem::path images_path = "./";
std::filesystem::path memory_file;
std::vector<std::filesystem::path> refs;
std::vector<std::string> refs_prefix;