From 2bbb12bcaab21f0d6633174989e4e681e23fb7bf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Oct 2024 12:33:04 +0100 Subject: Better dev environment detection --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3