some ideas about database structure, began assets fetching request
This commit is contained in:
parent
a1ab1339e3
commit
d33ec5def8
13 changed files with 251 additions and 45 deletions
|
@ -36,7 +36,7 @@ void initPaths(const char* programPath) {
|
|||
if (cp.parent_path() == FULL_BIN_DIR)
|
||||
return setAbsoluteSharedPath();
|
||||
|
||||
std::cout << cp << std::endl;
|
||||
//std::cout << cp << std::endl;
|
||||
std::filesystem::path parent = cp.parent_path();
|
||||
if (endsWith(parent.string(), BIN_DIR)) { //this is the case when the program is installed somewhere but not system root
|
||||
std::filesystem::path bin(BIN_DIR); //so it will read from something like ../share/pica/ relative to the binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue