diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-27 12:33:04 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-27 12:33:04 +0100 |
commit | 2bbb12bcaab21f0d6633174989e4e681e23fb7bf (patch) | |
tree | 0509a748240c96c69d427bea83f9bc839eca66d0 /src/main.cpp | |
parent | 7139c921dce9249264cc6fab911704ca591f3409 (diff) |
Better dev environment detection
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3d94cd2..565eabd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -160,7 +160,7 @@ int main(int argc, char **argv) { setlocale(LC_ALL, "C"); // Sigh... stupid C std::string resources_path; - if(access("images/stream.png", F_OK) == 0) { + if(access("sibs-build", F_OK) == 0) { resources_path = "./"; } else { #ifdef GSR_NOTIFY_RESOURCES_PATH |